HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

5. Enter the full path and file name for the directory to use for the errors log in the Log File field.
The default path is /var/opt/dirsrv/slapd-instance_name/log/errors directory.
6. Set the maximum number of logs, log size, and time period when the file is archived.
For information on these parameters, see “Defining a log file rotation policy” (page 508).
7. 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 “Defining a log file deletion policy” (page 509).
8. To set the log level, use the Ctrl key and click the options for the directory to include in the
Log Level list box.
For more information about log level options, see the HP-UX Directory Server configuration,
command, and file reference.
NOTE:
Changing these values from the defaults may cause the errors log to grow very rapidly, so
HP recommends not changing the logging level unless you are asked to do so by HP technical
support.
9. Click Save.
14.1.5 Audit log
The audit log contains detailed information about changes made to each database as well as to
server configuration.
14.1.5.1 Viewing the audit log
Before the audit log can be viewed, audit logging must be enabled for the directory, so the audit
log will not be kept. “Configuring the audit log” (page 512) has more information.
To view the audit log:
1. In the Directory Server Console, select the Status tab.
2. In the navigation tree, expand the Log folder, and select the Audit Log icon.
A table displays a list of the last 25 entries in the audit log.
To refresh the current display, click Refresh. Select the Continuous checkbox for the display
to refresh automatically every ten seconds.
NOTE:
Continuous log refresh does not work well with log files over 10 megabytes.
To view an archived audit log, select it from the Select Log pull-down menu.
To display a different number of messages, enter the number of lines to view in the Lines
to show text box, and click Refresh.
To display messages containing a specified string, enter the string in the Show only lines
containing text box, and click Refresh.
14.1.5.2 Configuring the audit log
The Directory Server Console can be used to enable and disable audit logging and to specify
where the audit log file is stored. To configure audit logging:
1. In the Directory Server Console, select the Configuration tab.
2. In the navigation tree, expand the Log folder, and select the Audit Log icon.
The audit log configuration attributes are displayed in the right pane.
512 Monitoring Server and Database Activity