logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Kumar Hasthalapuram <praveen.hast...@gmail.com>
Subject Backup files are not getting created
Date Thu, 09 Feb 2006 05:30:13 GMT
Hi All,

Backup files are not getting created. After reaching the 10mb its rolling
the same file.

Is anything wrong with the configuration?

   <appender name="P" class="org.apache.log4j.RollingFileAppender">
        <param name="Threshold" value="ERROR"/>
        <param name="File" value="sample.log"/>
        <param name="Append" value="true"/>
        <param name="MaxFileSize" value="10MB"/>
        <param name="maxBackupIndex" value="10"/>
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}
&lt;fsp&gt;%p %m%n"/>
        <filter class="org.apache.log4j.varia.DenyAllFilter"/>


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message