Enable Debug mode in Jboss log
search cancel

Enable Debug mode in Jboss log

book

Article ID: 39371

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM)

Issue/Introduction

Jboss usually does not contain debug level log. But under some circumstance, full trace info is required to investigate what is happening in what order. In such enable debug log is essential for troubleshooting the issue since it contain more details.

How can we enable JBoss debug log in general?

 

Environment

Release: ACP1M005900-12.9-Privileged Identity Manager
Jboss Application Server:4.2.3 GA

Resolution

Perform follow steps to enable debug mode for jboss log.

1.Open the jboss-log4j.xml file in the <JBossDir>/server/default/conf  directory

2.Search for <appender name=”FILE” class=”org.jboss.logging.appender.DailyRollingFileAppender”>, there is Thread parameter right below like <param name=”Thredshold” value=”INFO”>

3.Change value from INFO to DEBUG.

4.Shut down JBoss and remove directories <JBossDir>/server/default/tmp and <JBossDir>/server/default/work.

5.Restart the JBoss.