Modify the Compass core log properties in tslogger.properties
This topic describes the Compass core log properties that you can modify in the tslogger.properties file.
- On Windows™:
- install-dir\HCL\Compass\config\log\cqcore\
- On the UNIX™ system and Linux™:
- /opt/hcl/compass/config/log/cqcore
The tslogger.properties file contains default property settings for the Compass error and message log files. The error log file always contains fatal errors and errors. By default, the message log file contains all the errors in the error log file plus warning messages. You can change the log-level setting for the message log file to include informational messages as well by modifying the corresponding property in tslogger.properties. Modifiable log properties in the tslogger.properties file describes all the log properties that you can modify in tslogger.properties. Modification of any other properties in this file is not supported.
Property | Description |
---|---|
logger.dc.logging |
Enable or disable logging. Valid values are:
Default: |
logger.dc.msg.level |
Log level for writing messages to the message
log file. Valid values are:
Default: |
handler.file.maxFileBytes |
Maximum size of the error log or message log
file, in bytes. When a log file reaches the maximum file size, messages
are written to a new log file. Default: |
handler.file.maxFiles |
Maximum number of log files that are written
to the file system before the log files are overwritten in sequential
order. Log-file names are reused after reaching this maximum. Default: |
handler.file.dc.err.fileName |
File-name prefix or full path name, including
the file-name prefix, for the error log file. If the file-name
prefix only is specified, for example, If
the full path name including the file-name prefix are specified, for
example, Default: |
|
File-name prefix or full path name, including
the file-name prefix, for the message log file. If the file-name
prefix only is specified, for example, If
the full path name including the file-name prefix are specified, for
example, Default: |