I am using time/date based rolling appender for the jboss log. but I found the server.log file will be updated with new log message after I restart the jboss server. therefore all of the message before jboss restarting are gone. is that a way I can keep the lasted log message that is just before jboss restart.
Change the Append parameter to true.
<appender name="FILE"...> <param name="Append" value="true"/>