Defining A Log File Rotation Policy; Defining A Log File Deletion Policy - Netscape DIRECTORY SERVER 6.01 - 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.

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 total number of logs you want the directory to keep. When the directory
reaches this number of logs, it deletes the oldest log file in the folder before
creating a new log. The default is
the directory will not rotate the log and the log will grow indefinitely.
The maximum size (in MB) for each log file. If you don't want to set a
maximum size, type
reaches this maximum size (or the maximum age defined in the next step), the
directory archives the file and starts a new one. If you set the maximum
number of logs to
How often the directory archives the current log file and creates a new one by
entering a number of minutes, hours, days, weeks, or months. The default is
every day. If you set the maximum number of logs to
this attribute.

Defining a Log File Deletion Policy

If you want the directory to automatically delete old archived logs, you can define
a log file deletion policy from Directory Server Console.
NOTE
390
Netscape Directory Server Administrator's Guide • January 2002
in this field. The default is
-1
, the directory ignores this attribute.
1
The log deletion policy only makes sense if you have previously
defined a log file rotation policy. Log file deletion will not work if
you have just one log file.
The server evaluates the log file deletion policy at the time of log
rotation.
logs. Do not set this value to
10
100
1
. If you do,
1
MB. Once a log file
, the directory ignores

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Directory server 6.01

Table of Contents