Hi, 

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

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


Thanks,
Kevin Peterson


_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to