[jboss-user] [Beginners Corner] - use file rolling from log4j

gan.gary do-not-reply at jboss.com
Mon Jul 7 00:39:49 EDT 2008


By using file rolling from log4j, do i need to add this line:
<param name="Threshold" value="INFO"/>
in :

<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="false"/>
  |      <param name="MaxFileSize" value="500KB"/>
  |      <param name="MaxBackupIndex" value="1"/>
  | 
  |      <layout class="org.apache.log4j.PatternLayout">
  |        <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
  |      </layout>	    
  |    </appender>

I thought it's "INFO" by default?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162697#4162697

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162697



More information about the jboss-user mailing list