Smarts NCM: How to enable debug logging for Report Advisor (Tomcat service)
search cancel

Smarts NCM: How to enable debug logging for Report Advisor (Tomcat service)

book

Article ID: 331151

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - NCM

Resolution

This article explains the steps required to enable debug logging for the Tomcat service used by Smarts NCM Report Advisor.



By default, debug logging is disabled (turned Off) for the Smarts NCM Report Advisor Tomcat service. When enabled, debug logging can consume a significantly large amount of disk space. EMC recommends that debug logging be enabled only when needed. To enable debug logging for the Smarts NCM Report Advisor Tomcat service, do the following:

  1. Open the log4j.properties file in the Smarts NCM installation found here:

<Smarts NCM>/web/conf/log4j.properties

  1. Replace all occurrences of WARN found in the file with DEBUG.
  2. Save and close the log4j.properties file.
  3. Restart the Tomcat service as specified for your environment:
Linux or Solaris
/etc/init.d/tomcat restart

Windows (command line)
sc stop Tomcat5
sc start Tomcat5