logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Stauffer <stauffer.ja...@gmail.com>
Subject Re: Backup files are not getting created
Date Thu, 09 Feb 2006 17:29:25 GMT
What do you mean by "its rolling the same file".  Also, should
"maxBackupIndex" be "MaxBackupIndex"?

On 2/8/06, Praveen Kumar Hasthalapuram <praveen.hasthal@gmail.com> wrote:
> 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"/>
>         </layout>
>         <filter class="org.apache.log4j.varia.DenyAllFilter"/>
>     </appender>
>
> Thanks,
> Praveen
>
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message