![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 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.
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...