Logging broker activity
About this task
TRCICB-computername-suffix.log
where computername is the computer name of the broker and suffix is determined by the LogRotation and LogRollover settings.
For example, TRCICB-RCBROKER.example.com-Tue.log
The broker log files are located in the \Broker directory within the brokers’s working directory.
For example, \Documents and Settings\All Users\Application Data\IBM\Tivoli\Remote Control\Broker.
When using Windows 2008 server the file is located in \ProgramData\IBM\Tivoli\Remote Control\Broker\. In Linux the file is located in the /var/opt/ibm/trc/broker directory.Procedure
-
Configure the following properties within the trc_broker.properties
file.
For more information about the properties, see Properties for configuring logging activity
- LogLevel
- Set the required logging level.
The log level determines the types of entries and how much information is added to the log file. Default value is 2.
- LogRotation
-
Controls the period after which an older log file is overwritten. Log rotation can be disabled. Default value is Weekly.
- LogRollOver
-
Controls the period after which a new log file is started. This period must be shorter than the LogRotation period, therefore not all combinations are valid. LogRollover cannot be disabled. Default value is Daily.
- Save the file.