Tomcat Logging

CA SDM uses a separate log4j.properties file for its web components such as Servlets and PDM_RPC. Support Automation, CMDB Visualizer, and REST also have a separate log4j.properties file. Starting or stopping the Tomcat logging does not require you to recycle the Tomcat daemons.
casm171
CA SDM uses a separate log4j.properties file for its web components such as Servlets and PDM_RPC. Support Automation, CMDB Visualizer, and REST also have a separate log4j.properties file. Starting or stopping the Tomcat logging does not require you to recycle the Tomcat daemons.
The following list describes how the log4j.properties files of CA SDM components differ:
  • CA SDM monitors the log4j.properties in the NX_ROOT\site\cfg and in the NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF for changes.
  • Support Automation monitors the log4j.properties in the NX_ROOT\bopcfg\www\CATALINA_BASE_SA\webapps\SupportAutomation\WEB-INF.
  • CMDB Visualizer monitors the cmdbvisualizerlogging.properties in the NX_ROOT\bopcfg\www\CATALINA_BASE_VIZ\webapps\CMDBVisualizer\WEB-INF\classes.
  • REST monitors the rest.log4j.properties in the NX_ROOT\site\cfg.
Use the pdm_log4j_config utility only for changing variables in the log4j.properties, cmdbvisualizerlogging.properties, and rest.log4j.properties files. You cannot use the pdm_log4j_config utility to modify the polling interval.
CA SDM checks the log4j properties files for any changes periodically. Configure the time interval by modifying the NX_LOG4J_REFRESH_INTERVAL variable in the NX.env file.
Servlet Defaults
The following servlets log INFO level messages to the jsrvr.log file by default:
  • PDMContextListener – Log entry that is generated during the startup and shutdown of services.
  • PDMweb --  Log entry that is generated from operations on the user interface.
  • UploadServlet -- Log entry that is generated when you attach files to a ticket.
  • pdmExport -- Log entry that is generated when you click Export on list forms.
  • pdm_report -- Log entry that is generated when you click the Report menu on list forms.
  • page_cache -- Log entry that is generated from operations on the user interface.
  • BOServlet -- A log entry that is generated when you configure CA Business Intelligence and click the Reports tab.