Debugging Techniques

compared with
Current by Howard Treisman
on Feb 09, 2008 17:08.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (8)

View page history
In JBoss/Windows, the log4J file is found at: C:\Adobe\LiveCycle8\jboss\server\all\conf\log4j.xml
 
To bump up the default logging level, locate the following section:
{code}
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.home.dir}/log/server.log"/>
<param name="Threshold" value="INFO"/>
{code}
and change the Threshold value from INFO to DEBUG, as follows:\\
\\
{code}
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.home.dir}/log/server.log"/>
<param name="Threshold" value="DEBUG"/>
{code}
This will create quite verbose logging. You may want to use a tool like BareTail or BareTailPro to help find the offending problems.

You may also want to limit the logging on some of the more verbose or uninteresting areas, by tweaking the categories, like this:
{code}
   <!-- Limit JBoss categories -->
   <category name="org.jboss">
      <priority value="INFO"/>
   </category> 
{code}