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 Re: Backup files are not created
Date Wed, 08 Mar 2006 17:55:08 GMT
Yes, it exits.
Able to log into /log/file1.log

Thanks,
- Praveen

On 3/8/06, Philip Denno <pdenno@tsi.bc.ca> wrote:
>
> Does /log exist?
>
> Cheers,
> Philip.
>
> -----Original Message-----
> From: Praveen Kumar Hasthalapuram [mailto:praveen.hasthal@gmail.com]
> Sent: Wednesday, March 08, 2006 8:22 AM
> To: log4j-user@logging.apache.org
> Subject: Backup files are not created
>
> Hi ,
>
> Eventhough i have given value for MaxBackupIndex to 10, it is not
> creating backup files.
> What could be the problem? Anything wrong with the configuration?
>
> This is sample configuration:
>
>   <appender name="APP" class="org.apache.log4j.RollingFileAppender">
>        <param name="File" value="/log/file1.log"/>
>        <param name="Append" value="true"/>
>        <param name="MaxFileSize" value="10MB"/>
>        <param name="MaxBackupIndex" value="5"/>
>        <layout class="org.apache.log4j.PatternLayout">
>            <param name="ConversionPattern" value="%d{dd-MMM-yyyy
> HH:mm:ss} %p %m%n"/>
>        </layout>
>    </appender>
>
>    <category name="LOGGER">
>            <priority value="all"/>
>            <appender-ref ref="APP"/>
>    </category>
>
> Thanks,
> Praveen
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

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