This content has been marked as final.
Show 1 reply
-
1. Re: Automatically remove log-files
oyabun Nov 29, 2006 3:52 AM (in response to carstenrudat)Hi,
I don't think JBoss has a feature for that. Instead you can use a RollingFileAppender like this:<appender name="LOGFILE" class="org.jboss.logging.appender.RollingFileAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <param name="File" value="D:/logs/jboss-EJB.log"/> <param name="Append" value="true"/> <param name="MaxFileSize" value="10000KB"/> <param name="MaxBackupIndex" value="100"/> <param name="Threshold" value="DEBUG"/>
You need to figure out how much log output your server produces in a month.
Regards,
Alex