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

The log file deletion policy can be configured with the following parameters:
The maximum size of the combined archived logs
When the maximum size is reached, the oldest archived log is automatically deleted. To avoid
setting a maximum size, type -1 in this field. The default is 500 megabytes. This parameter
is ignored if the maximum number of log files is set to 1.
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 megabytes. This parameter is ignored if the maximum 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 maximum number of log files is set to 1.
14.1.3 Access log
The access log contains detailed information about client connections to the directory.
14.1.3.1 Viewing the access log
To view the access log in the Directory Server Console:
1. In the Directory Server Console, select the Status tab.
2. In the navigation tree, expand the Log folder, and select the Access Log icon.
A table displays a list of the last 25 entries in the access 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 access log, select it from the Select Log pull-down menu.
To display a different number of messages, enter the number to view in the Lines to show
text box, then click Refresh.
To display messages containing a specified string, y, enter the string in the Show only
lines containing text box, and click Refresh.
14.1.3.2 Configuring the access log
There are a number of settings that can be configured to customize the access log, including where
the directory stores the access log and the creation and deletion policies.
It is also possible to disable access logging for the directory. It may be useful to disable access
logging because the access log can grow very quickly; every 2,000 accesses to the directory
increases the access log by approximately 1 megabyte. However, before turning off access
logging, consider that the access log provides beneficial troubleshooting information.
To configure the access log for the directory:
1. In the Directory Server Console, select the Configuration tab.
2. In the navigation tree, expand the Log folder, and select the Access Log icon.
The access log configuration attributes are displayed in the right pane.
3. To enable access logging, select the Enable Logging checkbox.
Clear this checkbox to keep the directory from maintaining an access log. Access logging is
enabled by default.
510 Monitoring Server and Database Activity