This content has been marked as final.
Show 1 reply
-
1. Re: Preventing log file truncation on jboss restart
starksm64 Nov 18, 2004 2:37 PM (in response to stand)edit the conf/log4j.xml file and set the Append parameter to true:
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> <!-- ================================= --> <!-- Preserve messages in a local file --> <!-- ================================= --> <!-- A time/date based rolling appender --> <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <param name="File" value="${jboss.server.home.dir}/log/server.log"/> <param name="Append" value="true"/> ...