Access Log

Use this tab to configure various settings for the directory's access log. The access log contains detailed information about client connections to the directory.

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

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

Log File. Contains the full path and name of the access log file.

Creation Policy. These options allow you to specify how often the server archives the current access 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. When the server exceeds this amount, it deletes old archive logs. The default value is 10.

File size for each log. The maximum file size (in MB) for active access log files. Once a file reaches the size you specify, the server archives the file and starts a new one. To specify no maximum, enter a value of -1.

Create a new log every. How often you want the server to start a new access 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 access log files.

When total log exceeds. The server will delete the oldest archived access log once the total of all the logs reaches this amount. The value is given in MB.

When free disk space is less than. The server will delete the oldest archived access log if the available disk space is less than this amount. The value is given in MB.

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

Log Level. Specifies the kinds of access messages the server should store in the access log. By default, the connections, operations, and results option is selected. Multiple levels can be selected at the same time.