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 Rational® ClearQuest® log properties file, tslogger.properties, and the error log and message log files

When the Rational ClearQuest software is installed, the default directories for the tslogger.properties file and the error log and message log files are created, as described in Table 1.

Table 1. Default locations of the tslogger.properties file and the error log and message log files
File Default location
Log properties file, tslogger.properties
On Windows:
install-dir:\Rational\ClearQuest\config\log\cqcore\
On the UNIX system and Linux:
/opt/rational/clearquest/config/log/cqcore
Log file
On Windows:
ForClearQuest Client and ClearQuest for Windows, the default folder location is drive:\Documents and Settings\user\Application Data\rational\cqcore\log
For the ClearQuest Server, the default folder location is drive:\Documents and Settings\All Users\Application Data\rational\clearquest\cqcore\log
On the UNIX system and Linux:
/var/adm/rational/clearquest/cqcore/log

On Windows, the default locations of these files are also stored in the following Registry keys:

  • tslogger.properties file:

    HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\ClearQuest\log\cqcore\logconfigdir

  • Error log and message log files:

    HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\ClearQuest\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):

The environment variable values override the locations specified in the Registry keys.