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:
- Go to <install_directory>\appserver\webapps\ROOT\WEB-INF\log4j.properties.
- 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:
- Go to <install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties.
- 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:
- Go to <install_directory>\appserver\logs\DynamicColumnOutput.log.
- 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.