Chapter 3. Administrative Basics
84
4. To configure a log instance, modify the parameters associated with that log. These parameters
begin with
log.instance
and include the following:
•
bufferSize
. Specify 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.
•
enable
. Specify
true
to enable;
false
to disable. Only enabled logs actually record events.
•
fileName
. Specify the full path, including the filename, to the file to write messages. The
server should have read/write permission to the file.
•
flushInterval
. Specify 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.
•
level
. Specify a log level. The choices are 0 for debug, 1 for information, 2 for warning, 3 for
failure, 4 for misconfiguration, 5 for catastrophe, and 6 for security. The default selection is 1.
For more information, see
Section 3.9.3, “Log Levels (Message Categories)”
.
•
maxFileSize
. Specify 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”
.
•
register
. If this variable is set to
false
(the default value), the self-test messages are
only logged to the log file specified by
selftests.container.logger.fileName
. If this
variable is set to
true
, then the self-test messages are written to both the log file specified
by
selftests.container.logger.fileName
as well as to the log file specified by
log.instance.Transactions.fileName
.
•
rolloverInterval
. Specify 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”
.
•
type
. Set to
transaction
or
system
.
5. Save the file.
6. Start the subsystem instance.
3.9.8. Configuring TPS Logs
Logging TPS instance activities is handled differently than in the other subsystems. There are three
TPS instance logs:
•
tps-debug.log
•
tps-error.log
•
tps-audit.log
These logs are stored in the
/var/log/
instance_ID
directory. Other types of logs, such as
transaction logs and system logs, are not generated by the TPS instance.
Содержание CERTIFICATE SYSTEM 7.3 - ADMINISTRATION
Страница 1: ...Red Hat Certificate System 7 3 Administration Guide Publication date May 2007 updated March 25 2010 ...
Страница 15: ...xv Index 525 ...
Страница 16: ...xvi ...
Страница 38: ...Chapter 1 Overview 16 Figure 1 4 Certificate System Architecture ...
Страница 82: ...Chapter 2 Installation and Configuration 60 rpm ev rhpki manage ...
Страница 154: ...132 ...
Страница 194: ...172 ...
Страница 238: ...216 ...
Страница 244: ...222 ...
Страница 246: ...224 ...
Страница 286: ...264 ...
Страница 292: ...270 ...
Страница 318: ...Chapter 13 Certificate Profiles 296 Parameter IssuerType_n IssuerName_n ...
Страница 321: ...Freshest CRL Extension Default 299 Parameter PointName_n PointIssuerName_n ...
Страница 371: ...Configuring Mappers 349 Figure 15 9 Selecting a New Mapper Type 6 Edit the mapper instance and click OK ...
Страница 398: ...376 ...
Страница 412: ...390 ...
Страница 472: ...450 ...
Страница 500: ...Appendix A Certificate and CRL Extensions 478 Parameter namen Table A 8 IssuerAlternativeName Configuration Parameters ...
Страница 506: ...484 ...
Страница 528: ...506 ...
Страница 546: ...524 ...