[jboss-user] [Installation, Configuration & Deployment] - Re: Automatically remove log-files
Oyabun
do-not-reply at jboss.com
Wed Nov 29 03:52:08 EST 2006
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989593#3989593
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989593
More information about the jboss-user
mailing list