This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
The logging settings control the recording of messages and errors within Snap WebHost.

Setting |
Description |
|---|---|
Logging level |
Level of logging. Debug: all messages, Info: status and error messages, Errors: error messages only |
Debug file |
Path and base filename for logging output (the folder will be created if it doesn't exist). Defaults to C:\snapwebhost\logs\SNAP |
Email for critical errors |
Email address to send potentially serious error messages to (typically the sysadmin email address). If this address is left blank, no emails will be sent. If you do not provide an address, you will not get any notification of Snap WebHost errors |
More about logging
Each of the Snap WebHost services produces its own set of debug messages. These are written to separate files: <rootname>.access, <rootname>.admin, <rootname>.control, <rootname>.mailer, <rootname>.Snap11, <rootname>.SnapPool, and <rootname>.resp, where <rootname> is the Debug File setting.
The log messages can also be emailed to the address specified in the Email for Critical Errors setting. If this address is left blank, no emails will be sent. All log messages are sent to the same address.
The level of messages written to the files and sent as email is the same for all the services. It is set by Logging Level. Debug means that all messages will be logged, including those saying where in the program the service is. Info means that status and error messages are logged. Errors means that only error messages are logged.