Logging Web Reports

You can keep track of your Web Reports usage by setting up a log file.
On Windows
To log Web Reports messages perform the following steps:
  1. Run regedit and find the HKEY_LOCAL_MACHINE\Software\BigFix\Enterprise Server\BESReports key (on a 64-bit machine, you might need to go down into the Wow6432Node: HKEY_LOCAL_MACHINE\Software\Wow6432Node\BigFix\Enterprise Server\BESReports).

    You see some variables and path names used by Web Reports.

  2. Create a new DWORD value named LogOn and set it to 1 to turn on logging.
  3. Create a new string value named LogPath and set it to the full path name of your log file, for example, C:\fullpath\file.txt.
  4. Create a new DWORD value named LogFileSizeLimit and set it to the log file size in byte. The minimum value is 1024000 (1MB). If you set this value a maximum of 10 rotated log files is maintained in addition to the active log file. (for example, file.txt, file.txt_0, file.txt_1, ..., file.txt_9).
  5. Create a new string named EnabledLogs to specify one of the following levels of log: debug|critical|memory|store_usage|all, where all is the default.
On Linux
To log Web Reports messages perform the following steps:
  1. Open the following configuration file: /var/opt/BESWebReportsServer/beswebreports.config
  2. Add the full log file name in the [Software\BigFix\Enterprise Server\BESReports] section as follows:
    LogPath = /var/log/WebReports.log
  3. Enable the logging, define the log level and the log file size by setting the following keywords:
    LogOn = 1
    EnabledLogs = all
    LogFileSizeLimit = file_size_in_bytes
    where:
    LogOn
    Set to 1 to enable logging. Set to 0 to disable the log.
    EnabledLogs
    Enables or disables the logging of specific Web Reports messages. The values that you can specify are: debug|critical|memory|store_usage|all, where all is the default.
    LogFileSizeLimit
    Set to the log file size in byte. The minimum value is 1024000 (1MB). If you set this value, a maximum of 10 rotated log files is maintained in addition to the active log file. (for example, file.txt, file.txt_0, file.txt_1, ..., file.txt_9). Starting from V9.2.7, the default value is 100 MB. To disable the log rotation, set LogFileSizeLimit to 0. This setting is not recommended because it generates only one log file of uncontrolled size.

The next time you launch Web Reports, a log of the session is saved to the specified file.