Log management
The following log files are available for TrueSight Smart Reporting - Platform:
Log file name | Location | Description |
---|---|---|
tsrplatform.log | <install_directory>\appserver\logs | This log file records the logs generated during component registration. |
smartreporting.log | <install_directory>\appserver\logs | This log file records the logs for TrueSight Smart Reporting - Platform. |
DynamicColumnOutput.log | <install_directory>\appserver\logs | This log file records the logs generated for custom properties. |
jdbc.log | <install_directory>\appserver\logs | This log file provides information about the repository database. If you cannot log in to TrueSight Smart Reporting - Platform, review this log file to know if there is an issue with the database connection. |
source.<datasource ID>.log | <install_directory>\appserver\logs | This log provides information about TrueSight Smart Reporting - Platform to the component database connections. If you encounter any database connection errors, review this log file to understand the exact error message. |
TrueSight Smart ReportingInstallLog-<yyyymmdd>.log | <install_directory>\ | This log file records the logs generated during TrueSight Smart Reporting - Platform installation. |
TrueSight Smart ReportingPatchLog<yyyymmdd>.log | <install_directory>\ | This log file records the logs generated during an upgrade of 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:
- 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.
To enable the application log to the debug level, replace
INFO
withDEBUG
in the following line:log4j.logger.com.bmc.truesight.tsr.utility.service.TSSRViewService=INFO, platform
If you want to change the log levels DynamicColumnOutput.log file, do the following:
- Go to <install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties.
To enable the application log to the debug level, replace
INFO
withDEBUG
in the following line:log4j.logger.com.bmc.truesight.tsr.utility.service.TSSRViewService=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 file name | Configuration | Location |
---|---|---|
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 |
DynamicColumnOutput.log | log4j.appender.addDynamicColumn.MaxFileSize=10MB | <install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties |
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 name | Configuration | Location |
---|---|---|
smartreporting.log | log4j.appender.applog.MaxBackupIndex=9 Change the value of this property to change the number of log files generation in the rotation mode. | <install_directory>\appserver\webapps\ROOT\WEB-INF\log4j.properties |
tsrplatform.log | log4j.appender.platform.MaxBackupIndex=9 Change the value of this property to change the number of log files generation in the rotation mode. | <install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties |
DynamicColumnOutput.log | log4j.appender.addDynamicColumn.MaxBackupIndex=9 Change the value of this property to change the number of log files generation in the rotation mode. | <install_directory>\appserver\webapps\tsr\WEB-INF\log4j.properties |
Comments
Log in or register to comment.