Viewing and Configuring Log Files
To display a different number of messages, enter the number you want to view
4.
in the "Lines to show" text box and then click Refresh.
You can display messages containing a string you specify. To do this, enter the
5.
string in the "Show only lines containing" text box and then click Refresh.
Configuring the Access Log
You can configure a number of settings to customize the access log, including
where the directory stores the access log and the creation and deletion policies.
You can also disable access logging for the directory. You may do this because the
access log can grow very quickly (every 2,000 accesses to your directory will
increase your access log by approximately 1 MB). However, before you turn off
access logging, consider that the access log provides beneficial troubleshooting
information.
To configure the access log for your directory:
In the Directory Server Console, select the Configuration tab. Then, in the
1.
navigation tree, expand the Logs folder and select the Access Log icon.
The access log configuration attributes are displayed in the right pane.
To enable access logging, select the Enable Logging checkbox.
2.
Clear this checkbox if you do not want the directory to maintain an access log.
Access logging is enabled by default.
Enter the full path and filename you want the directory to use for the access log
3.
in the Log File field.
The default is
Set the maximum number of logs, log size, and periodicity of archiving.
4.
For information on these parameters, see "Defining a Log File Rotation Policy,"
on page 398.
Set the maximum size of combined archived logs, minimum amount of free
5.
disk space, and maximum age for a log file.
For information on these parameters, see "Defining a Log File Deletion Policy,"
on page 398.
When you have finished making changes, click Save.
6.
400
Netscape Directory Server Administrator's Guide • August 2002
serverRoot/slapd-serverID/logs/access
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers