Logging gateway activity
- Windows® systems
- Documents and Settings\All Users\ Application Data\BigFix\Remote Control\Gateway
- Linux® systems
- /var/opt/bigfix/trc/gateway
The name of the log file is
TRCGATEWAY-hostname-suffix.log.
hostname denotes the computer name or host name of the system where the gateway
is installed. suffix is determined by the LogRotation and LogRollover settings.
For example, TRCGATEWAY-mygateway-1-THU-18H.log
To configure logging complete the following steps:
- Configure the following properties within the trc_gateway.properties file.
- 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.
For more information about the properties, see Properties for configuring logging activity
The name of the log file is
TRCGATEWAY-hostname-suffix.log where
hostname is the computer name or host name of the system that hosts the gateway.
Suffix is the date and time, depending on which rotation and rollover settings
are being used. For more information, see Managing Gateway logs.
For example, for a system that hosts the gateway with host name mygateway-1 and the
following settings in the configuration file,
LogRotation = Weekly
LogRollover = Daily
The log file might be named TRCGATEWAY-mygateway-1-THU-18H.log