This documentation supports the 21.3 version of Smart Reporting.To view an earlier version, select the version from the Product version menu.

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

  1. 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.

  2. Modify the appropriate properties in the log4j2.xml file to change the log file settings.
    1. 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
    2. To modify the size of the log file, modify the maxFileSize value.
      By default, the value is set to 1 Mb / 1024 Kb.
    3. 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.
  3. Restart the Tomcat server.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*