BMC Customer Support might ask you to change the debug logging level in the course of diagnosing a problem.
The debug messages can be set in the order of severity.
The following table provides debug messages in the order of severity and verbosity:
Sequence | Severity | Verbosity |
---|---|---|
1 | TRACE | ERROR |
2 | DEBUG | WARN |
3 | INFO | INFO |
4 | WARN | DEBUG |
5 | ERROR | TRACE |
Setting a log level gets you messages from the level at which the logs are set and higher. The default setting is INFO level.
Note
BMC recommends that you not change the debug logging levels unless BMC Customer Support asks you to do so.
Navigate to the configuration file for the component for which you want to collect logs, as shown in the following table.
Component type | Location 1 | Logging level property | Re-start required? | |
---|---|---|---|---|
Collection Station | Windows | \station\collection\conf\logback.xml | logger name="com.bmc.ola" level="INFO" | No |
Linux | /station/collection/conf/logback.xml | |||
Collection Agent | Windows | \bww\udc\conf\logback.xml | logger name="com.bmc.ola" level="INFO" | No |
Linux | /bww/udc/conf/logback.xml | |||
Search + Console Server | Windows | \conf\server\logback.xml | logger name="com.bmc.ola" level="INFO" | No |
Linux | /conf/server/logback.xml | |||
Indexer | Windows | \conf\indexer\logging.yml | es.logger.level: INFO | Yes |
Linux | /conf/indexer/logging.yml |
1The location paths provided in the table (except the Collection Agent) must be preceded by one of the following environment variables:
The Collection Agent location path must be preceded by one of the following environment variables:
Windows: %PATROL_HOME%
Linux: $PATROL_HOME
Edit the configuration file as described in the preceding step and change the value of the logging level property to one of the following, depending on the level of verbosity required.
Logging level | Description |
---|---|
TRACE | Enables logging |
DEBUG | Granular informational events that are useful for debugging an application |
INFO | (Default) Informational messages that highlight the progress of the application at a high level |
WARN | Potentially harmful events |
ERROR | Events that might still allow the application to keep running |
OFF | Disables logging |
After changing the logging level, use the maintenance tool to create a zipped copy of the log files and send it to BMC Customer Support.