Lets try this one instead.
Here is my definition in the log4j.xml (I also tried false for the append value)
| <!-- A time/date based rolling appender for application logs -->
| <appender name="Application"
class="org.jboss.logging.appender.DailyRollingFileAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="File"
value="${jboss.server.home.dir}/log/Application.log"/>
| <param name="Append" value="true"/>
|
| <!-- Rollover at midnight each day -->
| <param name="DatePattern" value="'.'yyyy-MM-dd"/>
|
| <!-- Rollover at the top of each hour
| <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
| -->
|
| <layout class="org.apache.log4j.PatternLayout">
| <!-- The default pattern: Date Priority [Category] Message\n -->
| <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
|
| <!-- The full pattern: Date MS Priority [Category] (Thread:NDC)
Message\n
| <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x)
%m%n"/>
| -->
| </layout>
| </appender>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929567#3929567
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929567
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user