Looking at
https://jira.jboss.org/jira/browse/JBAS-6361.
Our default setting for log/server.log is to re-create the file upon start-up.
| <!-- 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.log.dir}/server.log"/>
| <param name="Append" value="false"/>
|
I suppose this is a convenient setting for a developer environment, where you only need to
keep the log for the latest run (although using a RollingFileAppender really contradicts
the developer point, a plain FileAppender would be preferrable), but for a production
environment you'll most probably want to keep the existing log content during a
re-start.
What do you think - should we switch to append == true?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203357#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...