Error Log

Use this tab to configure the directory's error log. The error log contains detailed messages about errors and events the server experiences during normal operations.

Enable logging. Select this checkbox to configure the server to keep an error log; clear this checkbox to disable error logging.

View Log. Click this button to view the error log for the directory.

Log File. Contains the full path and filename of the error log.

Creation Policy. These options allow you to specify how often the server archives the current error log and starts a new log file.

Access mode. Indicates the access mode or UNIX file permissions with which log files are to be created. The default value is 600.

The valid values are any combination of 000 to 777, as they mirror numbered or absolute UNIX file permissions. That is, the value must be a combination of a 3-digit number, the digits varying from 0 through 7:

0 - None
1 - Execute only
2 - Write only
3 - Write and execute
4 - Read only
5 - Read and execute
6 - Read and write
7 - Read, write, and execute

In the 3-digit number, the first digit represents the owner's permissions, the second digit represents the group's permissions, and the third digit represents everyone's permissions. When changing the default value, keep in mind that 000 will not allow access to the logs and allowing write permissions to everyone can result in the logs being overwritten or deleted by anyone.

Note that the newly configured access mode will only affect new logs that are created; the mode will be set when the log rotates to a new file.

Maximum number of logs. The number of logs to archive per directory.

File size for each log. The maximum file size (in MB) for active error log files. Once a file reaches the size you specify, the server archives the file and starts a new one.

Create a new log every. How often you want the server to start a new error log. The server archives a log file if the size of the file reaches the maximum file size or the specified time limit has elapsed, whichever comes first.

Deletion Policy. These options allow you to configure the server to delete unneeded archived error log files.

When total log exceeds. The server will delete the oldest archived error log once the total of all the logs reaches this amount.

When free disk space is less than. The server will delete the oldest archived error log if the available disk space is less than this amount.

When a file is older than. The server will delete an archived error log when the file is older than the age you specify.

Log Level. Specifies the kinds of error and event messages the server should store in the error log. By default, no options are selected. Selecting any option will cause the error log to grow very rapidly because additional information is written for every request the server receives.