Rotation Of Log Files; Timing Of Log File Rotation - Netscape MANAGEMENT SYSTEM 6.01 Installation And Setup Manual

Hide thumbs Also See for NETSCAPE MANAGEMENT SYSTEM 6.01:
Table of Contents

Advertisement

If you configure Certificate Management System for buffered logging, the server
creates buffers for the corresponding logs, and it holds the messages in these
buffers for as long as possible. The server flushes out the messages to the log
files—which are maintained in your local file system—only when either of the
following conditions occurs:
The buffer gets full—the buffer gets full when the buffer size is equal to or
greater than the value specified by the
The default value for this parameter is 512 KB.
The flush interval for the buffer is reached—the flush interval is reached when
the time interval since the last buffer flush is equal to or greater than the value
specified by the
flushInterval
for this parameter is 5 seconds.
When current logs are read from CMS window—the server retrieves the latest
log when it is queried for current logs.
If you configure the server for unbuffered logging, the server flushes out messages
as they are generated to the log files. Because the server performs an I/O operation
(writing to the log file) each time a message is generated, configuring the server for
unbuffered logging decreases performance.

Rotation of Log Files

Certificate Management System supports automatic rotation of log files, which
simplifies administration and facilitates backups. You are not required to manually
retire the current log file and create a new one to hold subsequent logged events.
You can back up all but the current log file in a directory at any time, without
stopping the server or manually notifying the server to start a new log file. The
parameters that control log rotation are specified in the configuration. To change
the log file rotation parameters, see "Configuring CMS Logs" on page 753.
You should periodically archive or back up the rotated log files. For details, see
"Archiving of Rotated Log Files" on page 769.

Timing of Log File Rotation

Log files are rotated when either of the following conditions occur:
The size limit for the corresponding file is reached—the size of the
corresponding log file is equal to or greater than the value specified by the
configuration parameter. The default value for this parameter is
maxFileSize
100 KB.
configuration parameter.
bufferSize
configuration parameter. The default value
Chapter 23
Introduction to Logs
Managing CMS Logs
751

Advertisement

Table of Contents
loading

This manual is also suitable for:

Certificate management system 6.01

Table of Contents