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 tsrplatform.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. Uncomment the following to enable the application log to debug level
    log4j.logger.com.bmc=INFO, platform

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

  1. Go to <install_directory>\appserver\logs\DynamicColumnOutput.log.
  2. Uncomment the following to enable the application log to debug level
    log4j.logger.com.bmc=INFO, platform

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:

If you want to change the number of log files generation in the rotation mode, change the log4j.appender.applog.MaxBackupIndex or log4j.appender.applog.MaxBackupIndex value in corresponding files.

 

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