title: How do I get jboss to display log.debug messages?
body: <p><strong>myController.java</strong></p>
  
  <pre><code> private static final Logger log = Logger.getLogger(myController.class
    .getName());
  @GET
    @Path("/testDebug")
    public String testDebug(@Context final ServletContext context)
    {
      log.error("This is an error message");
      log.debug("This is a debug message");
      log.fatal("This is fatal message");
      log.warn("This is a warn message");
      log.info("This is a info message");
  
      return "Test Page.  Debug Mode is on =" + log.isDebugEnabled();
    }
  </code></pre>
  
  <p><strong>jboss-log4j.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"&gt;
  
  &lt;!-- ===================================================================== --&gt;
  &lt;!--                                                                       --&gt;
  &lt;!--  Log4j Configuration                                                  --&gt;
  &lt;!--                                                                       --&gt;
  &lt;!-- ===================================================================== --&gt;
  
  &lt;log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"&gt;
  
     &lt;!-- ================================= --&gt;
     &lt;!-- Preserve messages in a local file --&gt;
     &lt;!-- ================================= --&gt;
  
     &lt;!-- A time/date based rolling appender --&gt;
     &lt;appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender"&gt;
        &lt;errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/&gt;
        &lt;param name="File" value="${jboss.server.log.dir}/server.log"/&gt;
        &lt;param name="Append" value="false"/&gt;
  
        &lt;!-- Rollover at midnight each day --&gt;
        &lt;param name="DatePattern" value="'.'yyyy-MM-dd"/&gt;
  
        &lt;layout class="org.apache.log4j.PatternLayout"&gt;
           &lt;!-- The default pattern: Date Priority [Category] Message\n --&gt;
           &lt;param name="ConversionPattern" value="%d %-5p [%c] %m%n"/&gt;
  
            --&gt;
        &lt;/layout&gt;
     &lt;/appender&gt;
  
     &lt;!-- ============================== --&gt;
     &lt;!-- Append messages to the console --&gt;
     &lt;!-- ============================== --&gt;
  
     &lt;appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"&gt;
        &lt;errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/&gt;
        &lt;param name="Target" value="System.out"/&gt;
        &lt;param name="Threshold" value="DEBUG"/&gt;
  
        &lt;layout class="org.apache.log4j.PatternLayout"&gt;
           &lt;!-- The default pattern: Date Priority [Category] Message\n --&gt;
           &lt;param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/&gt;
        &lt;/layout&gt;
     &lt;/appender&gt;
  
  
     &lt;!-- ================ --&gt;
     &lt;!-- Limit categories --&gt;
     &lt;!-- ================ --&gt;
  
     &lt;!-- Limit the org.apache category to INFO as its DEBUG is verbose --&gt;
     &lt;category name="org.apache"&gt;
        &lt;priority value="INFO"/&gt;
     &lt;/category&gt;
  
     &lt;!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose --&gt;
     &lt;category name="org.jboss.serial"&gt;
        &lt;priority value="INFO"/&gt;
     &lt;/category&gt;
  
     &lt;!-- Limit the org.jgroups category to WARN as its INFO is verbose --&gt;
     &lt;category name="org.jgroups"&gt;
        &lt;priority value="WARN"/&gt;
     &lt;/category&gt;
  
     &lt;!-- Limit the jacorb category to WARN as its INFO is verbose --&gt;
     &lt;category name="jacorb"&gt;
        &lt;priority value="WARN"/&gt;
     &lt;/category&gt;
  
     &lt;!-- Limit JBoss categories --&gt;
     &lt;category name="org.jboss"&gt;
        &lt;priority value="INFO"/&gt;
        &lt;appender-ref ref="CONSOLE"/&gt;
     &lt;/category&gt;
  
  
  
     &lt;!-- Limit the JSR77 categories --&gt;
     &lt;category name="org.jboss.management"&gt;
        &lt;priority value="INFO"/&gt;
     &lt;/category&gt;
  
     &lt;!-- This is is the package to myController.java --&gt;
     &lt;category name="com.myPackage.src"&gt;
        &lt;priority value="DEBUG"/&gt;
     &lt;/category&gt;
  
     &lt;!-- ======================= --&gt;
     &lt;!-- Setup the Root category --&gt;
     &lt;!-- ======================= --&gt;
  
     &lt;root&gt;
        &lt;appender-ref ref="CONSOLE"/&gt;
        &lt;appender-ref ref="FILE"/&gt;
     &lt;/root&gt;
  
  &lt;/log4j:configuration&gt;
  </code></pre>
  
  <p><strong>Desired Result</strong></p>
  
  <p>when path <code>/testDebug</code> is hit get the message: "This is a debug message" </p>
  
  <p><strong>Problem:</strong></p>
  
  <p>I get all message to display <strong>except</strong> debug</p>
  
  <pre><code>10:29:49,440 INFO  [STDOUT] 10:29:49,440 ERROR [myController] This is an error message
  10:29:49,440 INFO  [STDOUT] 10:29:49,440 FATAL [myController] This is fatal message
  10:29:49,440 INFO  [STDOUT] 10:29:49,440 WARN  [myController] This is a warn message
  10:29:49,440 INFO  [STDOUT] 10:29:49,440 INFO  [myController] This is a info message
  </code></pre>
  
  <p>Why cant I get debug message to display?</p>