This content has been marked as final.
Show 2 replies
-
1. Re: new log4j appendar logs all
grinch Feb 9, 2005 1:48 PM (in response to grinch)Dont think it likes the quotes, let try again:
appender name="SRSLog" class="org.apache.log4j.FileAppender"
errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"
param name="Append" value="flase"
param name="File" value="${jboss.server.home.dir}/log/SRS.log"
layout class="org.apache.log4j.PatternLayout"
param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/
layout
appender -
2. Re: new log4j appendar logs all
grinch Feb 9, 2005 5:36 PM (in response to grinch)Ok, I solved the problem. Going off the example on the Logging Wiki page, I put in a filter for my ear file. This worked.
If anyone one is still looking at this topic I have another question, can I define an appender in my package and have it deployed when I deploy? So each package can add its own appendar?
Thanks,
SJ