[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Logging
jwilleke
do-not-reply at jboss.com
Thu Apr 17 09:18:40 EDT 2008
Try this again.
Yes, I added my appender to .../jboss/conf/log4j.xml
My Appender looks as below.
Thanks
-jim
|
| <appender name="APASS" class="org.jboss.logging.appender.RollingFileAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="File" value="${jboss.server.home.dir}/log/apass.log"/>
| <param name="Append" value="false"/>
| <param name="MaxFileSize" value="5000KB"/>
| <param name="MaxBackupIndex" value="10"/>
| <param name="Threshold" value="DEBUG"/>
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %p %c %C{1} %M(%L) %m%n"/>
| </layout>
| </appender>
|
|
| <category name="APASSfileLogger" additivity="false">
| <priority value="DEBUG" />
| <appender-ref ref="APASS"/>
| </category>
|
| <root>
| <appender-ref ref="CONSOLE"/>
| <appender-ref ref="FILE"/>
| <appender-ref ref="APASS"/>
| </root>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144845#4144845
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144845
More information about the jboss-user
mailing list