Chapter 13. Monitoring Server and Database Activity

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, and 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.

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, do the following:

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.

4.Enter the full path and filename for the directory to use for the access log in the Log File field. The default path is /var/log/dirsrv/slapd-instance_name/access.

5.Set the maximum number of logs, log size, and archive time period.

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.

434

Page 454
Image 454
HP UX Red Hat Direry Server Software manual Configuring the Access Log, Display to refresh automatically every ten seconds