2 Replies Latest reply on Jul 7, 2008 6:45 AM by gan.gary

    use file rolling from log4j

    gan.gary Novice

      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?