title: Multiple logger in same class using jboss7 default logging mechanism
body: <p>Basically I need to log two messages in the same class with same logger threshold using jboss7 logging mechanism. Please let me know how this can be done in detail?
  I followed the approach you suggested, and created two periodic-rotating-file-handler as below</p>
  
  <pre><code>            &lt;periodic-rotating-file-handler name="FILE_DEBUG"&gt;
                  &lt;level name="DEBUG"/&gt;
                  &lt;formatter&gt;
                      &lt;pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/&gt;
                  &lt;/formatter&gt;
                  &lt;file relative-to="jboss.server.log.dir" path="File111_debug.log"/&gt;
                  &lt;suffix value=".yyyy-MM-dd"/&gt;
                  &lt;append value="true"/&gt;
              &lt;/periodic-rotating-file-handler&gt;
  
              &lt;periodic-rotating-file-handler name="FILE_INFO"&gt;
                  &lt;level name="INFO"/&gt;
                  &lt;formatter&gt;
                      &lt;pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/&gt;
                  &lt;/formatter&gt;
                  &lt;file relative-to="jboss.server.log.dir" path="File222_info.log"/&gt;
                  &lt;suffix value=".yyyy-MM-dd"/&gt;
                  &lt;append value="true"/&gt;
              &lt;/periodic-rotating-file-handler&gt;
  
              &lt;logger category="com.mypackage"&gt;
                  &lt;handlers&gt;
                      &lt;handler name="FILE_DEBUG"/&gt;
                      &lt;handler name="FILE_INFO"/&gt;
                  &lt;/handlers&gt;
              &lt;/logger&gt;
  
          &lt;root-logger&gt;
              &lt;level name="DEBUG"/&gt;
              &lt;handlers&gt;
                  &lt;handler name="CONSOLE"/&gt;
              &lt;/handlers&gt;
          &lt;/root-logger&gt;
  
  and in my class, I have declared as below,
  
  package com.mypackage.log
  
  ClassA{
  private static final Logger loggerDebug = Logger.getLogger("FILE_DEBUG");
  private static final Logger loggerInfo = Logger.getLogger("FILE_INFO");
  
  method1()
  {
      loggerDebug.debug("This message should be logged into  DEBUG log file");
          loggerInfo.info("This message should be logged into  INFO log file");
  }
  
  }
  </code></pre>
  
  <p>Although though the new logger files got created under the log folder, the above lines are not being printed in the respective log files.</p>
  
  <p>Appreciate if you could help me to check what went wrong in the configuration?</p>