Enabling HCL Compass core error and message logging
This topic describes how to enable error and message logging in HCL Compass core.
About this task
On Windows™:
- In the properties file tslogger.properties, which is located in the
directory install-dir\HCL\Compass\config\log\cqcore\, set
logger.dc.logging=on
(the default setting). - Perform one of the following tasks:
- Set the environment variable
CQ_CORE_LOGGING
to the valueon
. - Set the Windows Registry key
HKEY_LOCAL_MACHINE\SOFTWARE\HCL\Compass\log\cqcore\logging
to the valueON
(the default setting).Attention: If both the environment variable and Registry key values are defined, the environment variable setting overrides the Registry key setting.
- Set the environment variable
On the UNIX™ system and Linux™:
- In the properties file tslogger.properties, which is located in the
directory /opt/hcl/compass/config/log/cqcore, set
logger.dc.logging=on
(the default setting). - Set the environment variable
CQ_CORE_LOGGING
to the valueon
.Attention: Iflogger.dc.logging=on
and the environment variable is not defined, logging is enabled.