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:
- 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.
- Create a new DWORD value named
LogOn
and set it to 1 to turn on logging. - 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
. - 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). - Create a new string named
EnabledLogs
to specify one of the following levels of log:debug|critical|memory|store_usage|all
, whereall
is the default.
- Run regedit and find the
- On Linux
- To log Web Reports messages perform the following steps:
- Open the following configuration file:
/var/opt/BESWebReportsServer/beswebreports.config
- Add the full log file name in the
[Software\BigFix\Enterprise Server\BESReports]
section as follows:LogPath = /var/log/WebReports.log
- Enable the logging, define the log level and the log file size
by setting the following keywords:
where:LogOn = 1 EnabledLogs = all LogFileSizeLimit = file_size_in_bytes
- 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
, whereall
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.
- Open the following configuration file:
The next time you launch Web Reports, a log of the session is saved to the specified file.