This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Displaying the load files

To display the load on the server, you must set the path for the load files in the globalsettings.py file. This controls many Snap WebHost features. globalsettings.py is in C:\Python25\Lib\site-packages\snap2

You must edit the line

IIS_LOGS_FOLDER = "" # The folder that the IIS logs are in

to specify read access, and give the path for the folder where the load files will be stored between the quote marks:

IIS_LOGS_FOLDER = r"YourLoadLogPath"

For example:

IIS_LOGS_FOLDER = r"C:\WINDOWS\system32\LogFiles\w3svc1"

You will need to restart services after making any changes to globalsettings.py.

See Also

Setting session time-outs