Introduction to Logs
Chapter
23
Managing CMS Logs
751
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
bufferSize
configuration parameter.
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
configuration parameter. The default value
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
maxFileSize
configuration parameter. The default value for this parameter is
100 KB.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.01
Page 1: ...Installation and Setup Guide Netscape Certificate Management System Version6 01 May 2002...
Page 22: ...22 Netscape Certificate Management System Installation and Setup Guide May 2002...
Page 32: ...32 Netscape Certificate Management System Installation and Setup Guide May 2002...
Page 160: ...160 Netscape Certificate Management System Installation and Setup Guide May 2002...
Page 776: ...776 Netscape Certificate Management System Installation and Setup Guide May 2002...
Page 807: ...807 Part 5 Appendix Appendix A Certificate Download Specification...
Page 808: ...808 Netscape Certificate Management System Installation and Setup Guide May 2002...
Page 830: ...830 Netscape Certificate Management System Installation and Setup Guide May 2002...