[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss and log4j
roberto.k
do-not-reply at jboss.com
Sun Apr 20 08:35:24 EDT 2008
sorry... problem with the code
....
| <appender name="MY_APPENDER"
| class="org.jboss.logging.appender.DailyRollingFileAppender">
|
| <param name="File" value="${jboss.server.log.dir}/myloglog"/>
|
| <layout class="org.apache.log4j.PatternLayout">
|
| <param name="ConversionPattern" value="[%d{HH:mm:ss} %p] %c.%M(%L) - %m%n"
| />
|
| </layout>
|
| </appender>
|
|
|
| .....
|
|
|
| <category name="it.web" additivity="false">
|
| <priority value="debug" />
|
| <appender-ref ref="CONSOLE" />
|
| <appender-ref ref="MY_APPENDER" />
|
| </category>
|
|
|
| <root>
|
| <priority value="warn" />
|
| <appender-ref ref="CONSOLE"/>
|
| <appender-ref ref="FILE"/>
|
| </root>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145336#4145336
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145336
More information about the jboss-user
mailing list