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) CA Privileged Access Manager (PAM)

Issue/Introduction

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.

This article describes how to enable debug log in JBoss.

 

Question:

How to enable JBoss debug log in general.

 

Environment:

Jboss Application Server:4.2.3 GA

 

Answer:

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.

 

Environment

Release: ACP1M005900-12.9-Privileged Identity Manager
Component: