Netscape Certificate Management System (CMS) creates log files that record events related to its activities, such as administration, communications using any of the protocols the server supports, and various other processes employed by all the subsystems the server manages.
Services That Are Logged
Log Levels (Message Categories)
Log File Locations
Log File Naming Conventions
Buffered Versus Unbuffered Logging
Rotation of Log Files
Deletion of Log Files
Archiving of Rotated Log Files
Table 22.1 Types of logs maintained by Certificate Management System
Table 22.2 Services logged by Certificate Management System
A lower priority level (a smaller digit) means greater detail because more kinds of events are recorded in the log file.
Table 22.3 Classification of log entries or messages
<server_root> is the directory where the CMS binaries are kept. You first specified this directory during installation.
<instance_id> is the ID for this instance of Certificate Management System. You first specified this during installation.
All active log files created by Certificate Management System use an identical naming convention. The name of an active log file is in the form <log_type>.log, where <log_type> specifies the log file type--whether it is system, error, or audit.
All rotated log files created by Certificate Management System use an identical naming convention. When Certificate Management System rotates an active log file, it renames the current log file and then creates a new log file with the original name. The rotated log file is saved with the original file type and an appended timestamp.
timestamp is a large integer that indicates the date and time the corresponding active log file was rotated. The date and time have the forms YYYYMMDD (Year, Month, Day) and HHmmSS (Hour, Minute, Second), in that order.
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 300 seconds.
When current logs are read from CMS window--the server retrieves the latest log when it is queried for current logs.
Log files are rotated when either of the following conditions occur:
The age limit for the corresponding file is reached--the corresponding log file is equal to or older than the interval specified by the rolloverInterval configuration parameter. The default value for this parameter is 2592000 seconds (every hour).
Rotated log files are stored at the same location where the current or active log files are maintained. To find out where the active log files are located, see "Log File Locations".
By default, Certificate Management System does not delete rotated log files automatically. Because the rotated log files are also saved in your local file system, these files eventually take up a considerable amount of disk space. You can avoid this problem by doing one of the following:
Manually delete the log files from the local file system.
If you configure Certificate Management System to delete rotated log files automatically, the server deletes these files when the life of the corresponding log file is equal to or older than the interval specified by the expirationTime configuration parameter. The default value for this parameter is 2592000 seconds (or every hour); see "Log Parameters in the Configuration File".