The following log files are available for TrueSight Smart Reporting:

Log file nameLocationDescription
smartreporting.log<install_directory>\appserver\logs

This log file records the logs for TrueSight Smart Reporting.

tsrplatform.log<install_directory>\appserver\logsThis log file records the logs generated during component registration.

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. 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 file nameConfigurationLocation
smartreporting.log

log4j.appender.applog.MaxFileSize=1024KB

<install_directory>\appserver\webapps\ROOT\WEB-INF\log4j.properties
tsrplatform.log

log4j.appender.platform.MaxFileSize=10MB

<install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties

If you want to change the default log size, change the log4j.appender.applog.MaxFileSize or log4j.appender.platform.MaxFileSize value in the corresponding files.

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:

Log file nameConfigurationLocation
smartreporting.loglog4j.appender.applog.MaxBackupIndex=9
<install_directory>\appserver\webapps\ROOT\WEB-INF\log4j.properties
tsrplatform.loglog4j.appender.applog.MaxBackupIndex=9
<install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties

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.

Upgrade Assistance

The BMC Assisted Migration Offering (AMIGO) program is designed to assist customers with the planning of product upgrades to a newer version – “Success through proper planning”.
Explore AMIGO Program ›
Was this page helpful? Yes No Submitting... Thank you