1 Reply Latest reply on Jul 19, 2012 9:29 PM by mike just

    How to configure a more file handler for log output

    mike just Master

      version is 7.1.1.Final. I noticed in standalone.xml there is the file handler configuration, but it can only output to one log file. I tried to add another periodic-rotating-file-handler to output to another log file but it seems not working, and also did not find how to configure the another log file with a different category name. Does anybody have an idea how to resolve this problem?



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