Smarts NCM: How to enable debug logging for the JBoss service
search cancel

Smarts NCM: How to enable debug logging for the JBoss service

book

Article ID: 331316

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 JBoss service in Smarts NCM environment.




To enable debug logging for the JBoss service in Smarts NCM, do the following:

  1. Open the log4j.xml file for editing in the Smarts NCM installation:
<Smarts NCM>/jboss/server/vc-server/conf/log4j.xml
  1. Go to the section that begins on line 381, and change the <priority value /> tag setting from INFO to DEBUG as shown in the following example:

<category name="com.powerup">
<priority value="DEBUG" />
<appender-ref ref="POWERUP"/>
</category>

  1. Save and close the log4j.xml file.
  2. Restart the JBoss service as specified for your environment:
Linux or Solaris
/etc/init.d/jboss restart

Windows (command prompt)
sc stop NCM_JBoss
sc start NCM_JBoss


Additional Information

By default, debug logging is disabled (turned Off). When enabled, debug logging canconsume a significantly large amount of disk space. It is advisable that debug logging be turned On only when needed.