![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 398](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675398.webp)
Viewing and Configuring Log Files
398
Netscape Directory Server Administrator’s Guide • August 2002
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
10
logs. Do not set this value to
1
. If you do,
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
-1
in this field. The default is
100
MB. Once a log file
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
1
, the directory ignores this attribute.
•
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. You can also
rotate logs at a particular time of the day, for example, everyday at midnight.
The default is every day. If you set the maximum number of logs to
1
, the
directory ignores this attribute.
Note that each log file inludes a title, which identifies the server version, hostname,
and port, for ease of archiving or exchanging log files. The title is of the form:
Netscape-Directory/
version build_number
hostname
:
port
(
instance_directory
For example, the first couple of lines of any log files generated by a Directory
Server instance may show lines similar to these:
Netscape-Directory/6.1 B2002.085.2151
myhost.example.com:389 (/usr/netscape/servers/slapd-ds61)
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.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...