With the Native Analytics interface now available, scenarios may arise that warrant enabling additional logging to assist in troubleshooting a case. This document details the most effective methods to increase logging to debug or trace levels for the Native Analytics application to better identify and resolve potential issues.
Service Management 17.5
Component: Native Analytics
To increase log level of NX_ROOT\log\reportMS.log:
1. Take a backup and edit the NX_ROOT\bopcfg\www\CATALINA_BASE_RPT\webapps\CASMReports\WEB-INF\classes\logback.properties
2. Locate "rootLogger.level" (default level is INFO)
3. Change the log level.
Example to change the log level to DEBUG:
rootLogger.level=DEBUG
4. Restart Native Analytics tomcat:
pdm_tomcat_nxd -c STOP -t RPTpdm_tomcat_nxd -c START -t RPT
To increase log level of NX_ROOT\bopcfg\www\CATALINA_BASE_RPT\logs\reportMS_bop.log:
1. Take a backup and edit the NX_ROOT\bopcfg\www\CATALINA_BASE_RPT\webapps\CASMReports\WEB-INF\classes\log4j2.properties
2. Locate "rootLogger.level" (default level is INFO)
Change the root log level.
Example to change the log level to DEBUG:
rootLogger.level=DEBUG
4. Locate "logger.bop_logging.level"
Example to change the log level to DEBUG:
logger.bop_logging.level = DEBUG
5. Restart Native Analytics tomcat:
pdm_tomcat_nxd -c STOP -t RPT
pdm_tomcat_nxd -c START -t RPT
To increase log level of NX_ROOT\bopcfg\www\CATALINA_BASE_RPT\logs\reportMS_slump.log:
1. Take a backup and edit the NX_ROOT\bopcfg\www\CATALINA_BASE_RPT\webapps\CASMReports\WEB-INF\classes\log4j2.properties
2. Locate "rootLogger.level" (default level is INFO)
Change the root log level.
Example to change the log level to DEBUG:
rootLogger.level=DEBUG
4. Locate "logger.slump.level"
Example to change the log level to DEBUG:
logger.slump.level = DEBUG
5. Restart Native Analytics tomcat:
pdm_tomcat_nxd -c STOP -t RPT
pdm_tomcat_nxd -c START -t RPT
Paths of the logs related to Native Analytics:
NX_ROOT\log\pdm_tomcat_RPT.log
NX_ROOT\log\reportMS.log
NX_ROOT\bopcfg\www\CATALINA_BASE_RPT\logs\reportMS_bop.log
NX_ROOT\bopcfg\www\CATALINA_BASE_RPT\logs\reportMS_slump.log
NX_ROOT\bopcfg\www\CATALINA_BASE_RPT\logs\localhost_access_log.yyy-mm-dd.txt
Export:
NX_ROOT\log\SMReports_Export_Summary.log
Import:
NX_ROOT\log\SMReports_Import_Summary.log
Native Analytics Administration