Logging

This section describes the log files associated with the BigFix components.

BES Root Server log
  • Windows: C:\Program Files (x86)\BigFix Enterprise\BES Server\BESRelay.log
  • Linux: /var/log/BESRelay.log
FillDB log
  • Windows: C:\Program Files (x86)\BigFix Enterprise\BES Server\FillDBData\FillDB.log
  • Linux: /var/opt/BESServer/FillDBData/FillDB.log
GatherDB log
  • Windows: C:\Program Files (x86)\BigFix Enterprise\BES Server\GatherDBData\GatherDB.log
  • Linux: /var/opt/BESServer/GatherDBData/GatherDB.log
Gather Status Report
  • Windows: http://127.0.0.1:52311/cgi-bin/bfenterprise/BESGatherMirrorNew.exe
  • Linux: Status Report does not exist.
Relay log
  • Windows: C:\Program Files (x86)\BigFix Enterprise\BES Relay\logfile.txt
  • Linux: /var/log/BESRelay.log

BigFix Administration Tool (BESAdmin) log

On Windows, there are two or more BESAdmin log files:
  • For each user that runs BESAdmin, there is a specific log file

    C:\Users\{USERNAME}\AppData\Local\BigFix\BESAdminDebugOut.txt

    For example: C:\Users\Administrator\AppData\Local\BigFix\BESAdminDebugOut.txt

  • When BESAdmin is invoked by a Fixlet (or run by the LocalSystem user), the log file is

    C:\Windows\System32\config\systemprofile\AppData\Local\BigFix\BESAdminDebugOut.txt

On Linux systems, there is a single log file, located in the following folder:
  • /var/log/BESAdminDebugOut.txt
To change the default behavior of BESadmin logging, depending on the operating system, perform the following:
  • For Windows operating systems, create the following registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\Enterprise Server\BESAdmin and add the desired options.
  • For Linux operating systems, in the /var/opt/BESServer/besserver.config file, add the following entry [Software\BigFix\Enterprise Server\BESAdmin] where to specify the options.
The following options control the logging behavior:
  • DebugOut: (string) Full path to the log file.
  • EnableLogging: (number, DWORD) Denotes whether the logging is active or not (1=yes, 0=no). The default is 1 when option DebugOut is not empty and 0 when DebugOut is empty.
  • EnabledLogs: (string) Holds a list, separated by semicolons, with the logs that are logged. The default is critical;debug;database.
  • LogFileSizeLimit: (number, DWORD) The size in bytes of each log before rotating them. The default is 10 MB.

Client log

The client records its current activity into a log file with the current date as the file name in the format [year][month][day].log. If an active log reaches 512K in size it will be moved to a backup (.bkg) file and a new log will be started for the current day. If the log reaches 512K again the backup will overwrite the existing backup. Both the active and backup logs will be deleted after ten days. These are the default locations of the BigFix client logs for each operating system:
  • Windows: C:\Program Files\BigFix Enterprise\BES Client\__BESData\__Global\Logs
  • UNIX, Linux: /var/opt/BESClient/__BESData/__Global/Logs
  • Mac: /Library/Application Support/Bigfix/BES Agent/__BESData/__Global/Logs

BES Server Plugin Service log

The directory of the log file is C:\Program Files\BigFix Enterprise\BES Server\Applications\Logs.

Note: If you change the name or the path of log files, to avoid character display problems, ensure to use names that have only ASCII characters and not non-ASCII characters.

Logging settings

You can enable or disable the logging activity on some BigFix components by setting the following Windows registry keys:

Table 1. Logging settings
BigFix component Registry key name Registry key type Registry key values
Windows Administration tool EnableLogging REG_DWORD 0 to disable and 1 to enable
Linux Administration tool EnableLogging REG_DWORD 0 to disable and 1 to enable
Console EnableLogging REG_DWORD 0 to disable and 1 to enable
Web Reports LogOn REG_DWORD 0 to disable and 1 to enable
Fixlet Debugger EnableLogging REG_DWORD 0 to disable and 1 to enable
FillDB EnableLogging REG_DWORD 0 to disable and 1 to enable
FillDB Performance EnablePerformanceLogging REG_DWORD 0 to disable and 1 to enable
FillDB Query Performance EnableQueryPerformanceLogging REG_DWORD 0 to disable and 1 to enable