Download Sun Java System Directory Server 5.2 Administration Guide 2005Q1

Transcript
Access Log
•
The minimum amount of free disk space. When the free disk space reaches this
minimum value, the oldest archived log is automatically deleted. The default is
5 MB. This parameter is ignored if the number of log files is set to 1.
•
The maximum age of log files. When a log file reaches this maximum age, it is
automatically deleted. The default is 1 month. This parameter is ignored if the
number of log files is set to 1.
Manual Log File Rotation
You can manually rotate log files if you have not set automatic log file creation or
deletion policies. By default, access, errors, and audit log files can be found in the
following directory:
ServerRoot/slapd-serverID/logs
To manually rotate log files:
1.
Shut down the server. See “Starting and Stopping Directory Server” on page 35
for instructions.
2.
Move or rename the log file you are rotating in case you need the old log file
for future reference.
3.
Restart the server. See “Starting and Stopping Directory Server” on page 35 for
instructions.
The server automatically creates new files according to each log configuration.
Access Log
The access log contains detailed information about client connections to the
directory. The Directory Server Resource Kit provides a log analyzer tool,
logconv.pl, that enables you to analyze Directory Server access logs. The log
analyzer tool extracts usage statistics and counts the occurrences of significant
events. For more information this tool, refer to the Directory Server Resource Kit
Tools Reference.
Viewing the Access Log
1.
On the top-level Status tab of Directory Server Console, select the Logs icon,
and then select the Access Log tab in the right-hand panel.
Chapter 13
Monitoring Directory Server Using Log Files
481