[jboss-user] Application logs are not getting logged in the logs defined in jboss 7.0.2

Kevin Peterson qh.resu01 at gmail.com
Tue May 7 06:51:27 EDT 2013


I am using the below appenders in my domain.xml file to point all the logs from my application to app.log. I see the file is getting created but there are no logging happening.

     <periodic-rotating-file-handler name="CACHE-FILE" autoflush="true">
                <level name="DEBUG"/>
                   <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
                <file relative-to="jboss.server.log.dir" path="app.log"/>
                <suffix value=".yyyy-MM-dd"/>
                <append value="true"/>

               <logger category="com.abc.cache" use-parent-handlers="false">
                   <level name="DEBUG"/>
                      <handler name="CACHE-FILE"/>

Kevin Peterson

More information about the jboss-user mailing list