Red Hat Directory Server 8.0 Administrator's Guide
2
The command to stop the Directory Server on platforms other than Red Hat Enterprise Linux is described in Section 3,
“Starting and Stopping Servers”.
4. Enter the full path and filename for the directory to use for the audit log in the field provided.
The default path is /var/log/dirsrv/slapd-instance_name/audit.
5. Set the maximum number of logs, log size, and time period when the file is archived.
For information on these parameters, see Section 1.1, “Defining a Log File Rotation Policy”.
6. Set the maximum size of combined archived logs, minimum amount of free disk space, and
maximum age for a log file.
For information on these parameters, see Section 1.2, “Defining a Log File Deletion Policy”.
7. Click Save.
2. Manual Log File Rotation
The Directory Server supports automatic log file rotation for all three logs. However, it is
possible to rotate log files manually if there are not automatic log file creation or deletion policies
configured. By default, access, error, and audit log files can be found in the following location:
/var/log/dirsrv/slapd-instance_name
To rotate log files manually, do the following:
1. Shut down the server.
2
service dirsrv stop instance
2. Move or rename the log file being rotated so that the old log file is available for future
reference.
3. Restart the server.
service dirsrv restart instance
3. Monitoring Server Activity
The Directory Server's current activities can be monitored from either the Directory Server
Console or the command line. It is also possible to monitor the activity of the caches for all of
the database.
Chapter 13. Monitoring Server and Database Activity
438