Configuring Smart Reporting log settings
Configure the log4j2.xml file to get the optimum logs for better troubleshooting. Optionally, you can configure the file to modify the duration of the log files, and save memory.
Related topic
To configure the BMC Helix ITSM: Smart Reporting log file
Navigate to the SmartReportingInstallDir\SmartReporting\appserver\webapps\ROOT\WEB-INF\ directory.
You can modify the same settings for onboarding logs. The onboarding issues are logged in the smartreporting.log file in SmartReportingInstallDir\SmartReporting\appserver\logs.
- Modify the appropriate properties in the log4j2.xml file to change the log file settings.
- To change the log level, modify the ROOT level values. The log level values are as follows:
- ERROR—Error messages only (This is the default value.)
- WARNING—Errors and warnings only
- INFO—Information, warnings, and errors
- DEBUG—All usage information
- To modify the size of the log file, modify the maxFileSize value.
By default, the value is set to 1 Mb / 1024 Kb. - To define the number of log files to create, modify the maxFiles value.
By default, Smart Reporting creates nine log files before overwriting the existing log files that were created. After the maximum number of files is reached, BMC Helix ITSM: Smart Reporting overwrites the existing log files that were created.
- To change the log level, modify the ROOT level values. The log level values are as follows:
- Restart the Tomcat server.
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.