[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Limiting log file size/versions under 4.0.1SP1
erasmomarciano
do-not-reply at jboss.com
Fri Sep 26 08:42:08 EDT 2008
I have tried with jboss-4.0.1, you should have the following file boss-4.0.1/server/all/conf/log4j.xml
You should find the code commented as suggested by Peter
| <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="File" value="${jboss.server.log.dir}/server.log"/>
| <param name="Append" value="true"/>
| <param name="MaxFileSize" value="500KB"/>
| <param name="MaxBackupIndex" value="20"/>
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
| </layout>
| </appender>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179060#4179060
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179060
More information about the jboss-user
mailing list