Defining A Log File Rotation Policy; Defining A Log File Deletion Policy - Netscape DIRECTORY SERVER 6.02 - 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. If you set the
maximum number of logs to

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 the Directory Server Console.
NOTE
You can configure the following parameters:
The maximum size of the combined archived logs. When the maximum size is
reached, the oldest archived log is automatically deleted. If you don't want to
set a maximum size, type
parameter is ignored if the number of log files is set to
392
Netscape Directory Server Administrator's Guide • May 2002
in this field. The default is
-1
, the directory ignores this attribute.
1
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.
in this field. The default is
-1
logs. Do not set this value to
10
100
, the directory ignores this attribute.
. If you do,
1
MB. Once a log file
MB. This
500
.
1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Directory server 6.02

Table of Contents