Hi James,
I mean to say, file is getting rolled but not creating any backup file.
Eventhough i have corrected as you suggested like "MaxBackupIndex",
backup files are not getting created.
Thanks,
Praveen
On 2/9/06, James Stauffer <[EMAIL PROTECTED]> wrote:
>
> What do you mean by "its rolling the same file". Also, should
> "maxBackupIndex" be "MaxBackupIndex"?
>
> On 2/8/06, Praveen Kumar Hasthalapuram <[EMAIL PROTECTED]> 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}
> > <fsp>%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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>