Introduction to LogsChapter 23 Managing CMS Logs 771If you configure Certificate Management System for buffered logging, the servercreates buffers for the corresponding logs, and it holds the messages in thesebuffers for as long as possible. The server flushes out the messages to the logfiles—which are maintained in your local file system—only when either of thefollowing conditions occurs:• The buffer gets full—the buffer gets full when the buffer size is equal to orgreater 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 whenthe time interval since the last buffer flush is equal to or greater than the valuespecified by the flushInterval configuration parameter. The default valuefor this parameter is 5 seconds.• When current logs are read from CMS window—the server retrieves the latestlog when it is queried for current logs.If you configure the server for unbuffered logging, the server flushes out messagesas 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 forunbuffered logging decreases performance.Rotation of Log FilesCertificate Management System supports automatic rotation of log files, whichsimplifies administration and facilitates backups. You are not required to manuallyretire 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, withoutstopping the server or manually notifying the server to start a new log file. Theparameters that control log rotation are specified in the configuration. To changethe log file rotation parameters, see “Configuring CMS Logs” on page 773.You should periodically archive or back up the rotated log files. For details, see“Archiving of Rotated Log Files” on page 789.Timing of Log File RotationLog files are rotated when either of the following conditions occur:• The size limit for the corresponding file is reached—the size of thecorresponding log file is equal to or greater than the value specified by themaxFileSize configuration parameter. The default value for this parameter is100 KB.