Modify the locations of tslogger.properties and the log files
Describes how to use Windows™ Registry keys or environment variables to modify the default locations of the HCL Compass log properties file, tslogger.properties, and the error log and message log files
When the HCL Compass software is installed, the default directories for the tslogger.properties file and the error log and message log files are created, as described in Default locations of the tslogger.properties file and the error log and message log files.
File | Default location |
---|---|
Log properties file, tslogger.properties |
|
Log file |
|
On Windows, the default locations of these files are also stored in the following Registry keys:
- tslogger.properties file:
HKEY_LOCAL_MACHINE\SOFTWARE\HCL\Compass\log\cqcore\logconfigdir
- Error log and message log files:
HKEY_LOCAL_MACHINE\SOFTWARE\HCL\Compass\log\cqcore\logdatadir
You can change the default locations of the tslogger.properties file and the error log and message log files either by changing the values of the Windows Registry keys just mentioned, or by setting the following environment variables (Windows, the UNIX system, and Linux):
- tslogger.properties file:
CQ_LOG_CONFIG_DIR
- Error log and message log files:
CQ_LOG_DATA_DIR
The environment variable values override the locations specified in the Registry keys.