Defining A Log File Rotation Policy - Netscape DIRECTORY SERVER 6.2 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Viewing and Configuring Log Files
The following sections describe how to define your log file creation and deletion
policy, and how to view and configure each type of log.
NOTE

Defining a Log File Rotation Policy

If you want the directory to periodically archive the current log and start a new
one, you can define a log file rotation policy from Directory Server Console. You
can configure the following parameters:
The the access mode or file permissions with which log files are to be
created. The default value is 600. The valid values are any combination of
000 to 777, as they mirror numbered or absolute UNIX file permissions. That
is, the value must be a combination of a 3-digit number, the digits varying
from 0 through 7:
0 - None
1 - Execute only
2 - Write only
3 - Write and execute
4 - Read only
5 - Read and execute
6 - Read and write
7 - Read, write, and execute
In the 3-digit number, the first digit represents the owner's permissions, the
second digit represents the group's permissions, and the third digit
represents everyone's permissions. When changing the default value, keep
in mind that 000 will not allow access to the logs and allowing write
permissions to everyone can result in the logs being overwritten or deleted
by anyone.
Note that the newly configured access mode will only affect new logs that are
created; the mode will be set when the log rotates to a new file.
414
Netscape Directory Server Administrator's Guide • December 2003
When the server is not running, you cannot read the logs using
the Directory Server Console. However, you can read them using
the Administration Server Console:
From your browser, access:
1.
At the login prompt, use the admin login ID and password.
2.
Click the link for Netscape Administration Express.
3.
http://hostname:admin_server_port

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Directory server 6.2

Table of Contents