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"> <formatter> <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> </formatter> <file relative-to="jboss.server.log.dir" path="server.log"/> <suffix value=".yyyy-MM-dd"/> </periodic-rotating-file-handler>
Could someone help me resolve this problem? I believe JBoss 7 can handle this, but I have not found any guide on how to do it.