Enable logging for BigFix Web Reports
Technote (troubleshooting)
Problem(Abstract)
Logging is enabled differently depending on the version of BigFix in your deployment.
Resolving the problem
Note: For 32 bit OS's use the following registry path:
- HKLM\SOFTWARE\BigFix\Enterprise Server\BESReports
BigFix Windows Server:
1. Create the following values in the registry on the web reports server machine:
If the LogOn value has not been created, create it as a REG_DWORD value:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\Enterprise Server\BESReports
Value [REG_DWORD]: LogOn
Data: Set it to a value of 1 to enable the logging. Set it to a value of 0 to disable the logging.
If the LogPath value has not been created, create it as a REG_SZ value:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\Enterprise Server\BESReports
Value [REG_SZ]: LogPath
Data: c:\temp\webreportlog.txt
Note: the path c:\temp must already exist.
If the EnabledLogs value has not been created, create it as a REG_SZ value:
-
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\Enterprise Server\BESReports
Value [REG_SZ]: EnabledLogs
Data: all
Note: The EnableLogs value can be set to one of the following values (all, databases, debug, critical, performance, or memory) - use "all" to log all messages.
3. Log into Web Reports and create a report. Verify that the logging output is occurring.
BigFix Linux Server
1. 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
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 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).
The next time you launch Web Reports, a log of the session is saved to the specified file.
Historical Number
324
Document information
More support for:
IBM BigFix family
Software version: All Versions
Operating system(s): Platform Independent
Reference #: 1505914
Modified date: 31 October 2016