Configuring Logs in the CS.cfg File
83
•
enabled
. Select to enable; deselect to disable. Only enabled logs actually record events.
•
level
. Sets the log level. The choices are
Debug
,
Information
,
Warning
,
Failure
,
Misconfiguration
,
Catastrophe
, and
Security
. The level field does not have a drop-down
list. It is a simple text field that needs to be filled in with one of the above categories. For more
information, see
Section 3.9.3, “Log Levels (Message Categories)”
.
•
fileName
. The full path, including the filename, to the file to write messages. The server should
have read/write permission to the file.
•
bufferSize
. The buffer size in kilobytes (KB) for the log. The default size is 512 KB. For more
information, see
Section 3.9.4, “Buffered Versus Unbuffered Logging”
. Once the buffer reaches
this size, the contents of the buffer are flushed out and copied to the log file.
•
flushInterval
. The interval, in seconds, to flush the buffer to the file. The default interval is
5 seconds. The
flushInterval
is the amount of time before the contents of the buffer are
flushed out and added to the log file.
•
maxFileSize
. The file size in kilobytes (KB) for the error log. The default size is 100 KB. The
maxFileSize
determines how large a log file can become before it is rotated. Once it reaches
this size, the file is copied to a rotated file, and the log file is started anew. For more information,
see
Section 3.9.5, “Log File Rotation”
.
•
rolloverInterval
. Sets the frequency at which the server rotates the active error log file. The
available choices are hourly, daily, weekly, monthly, and yearly. The default selection is monthly.
For more information, see
Section 3.9.5, “Log File Rotation”
.
The signed audit log has these additional settings:
•
logSigning
. Enables signed logging. When this parameter is enabled, provide a value for the
signedAuditCertNickname
parameter. This feature means, the log can only be viewed by an
auditor. See
Section 3.9.1.6, “Signed Audit Log”
for more information about signed audit logs.
•
signedAuditCertNickname
. The nickname of the certificate used to sign audit logs. The
private key for this certificate must be accessible to the subsystem in order for it to sign the log.
•
events
. Specifies which events are logged to the audit log. Lists each event separated by a
comma with no spaces. Events can be removed from the list. See
Table 3.11, “Signed Audit Log
Events”
for a complete list of auditable logging events.
5. Click
OK
.
3.9.7. Configuring Logs in the CS.cfg File
To modify the configuration settings for logs:
1. Stop the subsystem instance.
2. Open the
CS.cfg
file in the
/var/lib/
instance
/conf
directory.
3. To create a new log, copy all of the entries for either the system or transactions log. These are the
parameters that begin with
log.instance.Transactions
or
log.instance.System
. Paste
all entries at the bottom of the logging section and change the name of this instance by changing
the word
Transactions
or
System
in each parameter to the new name.
Summary of Contents for CERTIFICATE SYSTEM 7.3 - ADMINISTRATION
Page 15: ...xv Index 525 ...
Page 16: ...xvi ...
Page 38: ...Chapter 1 Overview 16 Figure 1 4 Certificate System Architecture ...
Page 82: ...Chapter 2 Installation and Configuration 60 rpm ev rhpki manage ...
Page 154: ...132 ...
Page 194: ...172 ...
Page 238: ...216 ...
Page 244: ...222 ...
Page 246: ...224 ...
Page 286: ...264 ...
Page 292: ...270 ...
Page 318: ...Chapter 13 Certificate Profiles 296 Parameter IssuerType_n IssuerName_n ...
Page 321: ...Freshest CRL Extension Default 299 Parameter PointName_n PointIssuerName_n ...
Page 398: ...376 ...
Page 412: ...390 ...
Page 472: ...450 ...
Page 506: ...484 ...
Page 528: ...506 ...
Page 546: ...524 ...