Logging broker activity

About this task

Broker session activity is saved to the broker log files. These files are named using the following format.

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.

In a Windows system, the file is located in \ProgramData\BigFix\Remote Control\Broker\. In Linux the file is located in the /var/opt/bigfix/trc/broker directory.

Procedure

To configure logging complete the following steps:
  1. 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.

  2. Save the file.