Log management


The following log files are available for TrueSight Smart Reporting - Platform:

Log levels

The following log levels are available in both log files:

  • ERROR
  • INFO
  • DEBUG
  • WARN

If you want to change the log levels smartreporting.log file, do the following:

  1. Go to <install_directory>\appserver\webapps\ROOT\WEB-INF\log4j.properties.
  2. Uncomment to set everything under com.hof to DEBUG as shown below:
    log4j.category.com.hof=DEBUG

If you want to change the log levels tsrplatform.log file, do the following:

  1. Go to <install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties.
  2. To enable the application log to the required debug level, look for the following line, and replace the log level. For example replace INFO with DEBUG in the following line:
    log4j.logger.<fully qualified class name>=INFO, platform

If you want to change the log levels DynamicColumnOutput.log file, do the following:

  1. Go to <install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties.
  2. To enable the application log to the required debug level, look for the following line, and replace the log level. For example replace INFO with DEBUG in the following line:
    log4j.logger.<fully qualified class name>=INFO, addDynamicColumn

Log file size

The maximum file size of 1 log to be generated is 10 MB. The following configuration defines the file size:

Log rotation

The number of log files generated in the rotation mode is 10. The following configuration defines the number of log files generated in the rotation mode:

 

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