|
||
|
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. By default, the value is:
serverRoot/slapd-serverID/logs/access
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 executeIn 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.
Copyright (C) Sun Microsystems, Inc. Used by permission.
Copyright (C) 2005 Red Hat, Inc. All rights reserved.
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, V1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/).
Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder.
Distribution of the work or derivative of the work in any standard (paper) book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder.
Last Updated March 31, 2005