Modify the ClearQuest core log properties in tslogger.properties
- On Windows:
- install-dir\Rational\ClearQuest\config\log\cqcore\\config\log\cqcore\
- On the UNIX system and Linux:
- /opt/rational/clearquest/config/log/cqcore
The tslogger.properties file contains default property settings for the ClearQuest 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. Table 1 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: on |
logger.dc.msg.level | Log level for writing messages to the message
log file. Valid values are:
Default: WARNING |
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:20480000 |
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: 20 |
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, handler.file.dc.err.fileName=SystemErr, then the error log file is created in the default log directory using the specified prefix and following this format: SystemErryear_time_pid.log. For example, SystemErr20080530_074357_4528.log. If the full path name including the file-name prefix are specified, for example, handler.file.dc.err.fileName=/tmp/SystemErr, then the error log file is created in the specified directory using the specified prefix. For example, /tmp/SystemErr20080530_074357_4528.log. Default: SystemErr |
handler.file.dc.msg.fileName |
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, handler.file.dc.msg.fileName=SystemOut, then the message log file is created in the default log directory using the specified prefix and following this format: SystemOutyear_time_pid.log. For example, SystemOut20080530_074357_4528.log. If the full path name including the file-name prefix are specified, for example, handler.file.dc.msg.fileName=/tmp/SystemOut, then the message log file is created in the specified directory using the specified prefix. For example, /tmp/SystemOut20080530_074357_4528.log. Default: SystemOut |