[ 
https://issues.apache.org/jira/browse/LOG4NET-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers updated LOG4NET-517:
--------------------------------

LOG4NET is now dormant.  

> RollingFileAppender issue with Date pattern
> -------------------------------------------
>
>                 Key: LOG4NET-517
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-517
>             Project: Log4net
>          Issue Type: Bug
>          Components: Builds
>    Affects Versions: 1.2.15
>         Environment: software
>            Reporter: Joseph Rony
>            Priority: Major
>             Fix For: 1.2.14
>
>
> Version 1.2.14 has fixed rollingfile appender issue for date pattern. But in 
> version 1.2.15 doesnt deletes the log file for the value mentioned in 
> 'maxSizeRollBackups'.
> I have attached the Configuration details below.
> <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
>       <file type="log4net.Util.PatternString" value="MyProduct.log" />
>       <datePattern  value="'.'yyyy-MM-dd"/>
>       <appendToFile  value="true"/>
>       <rollingStyle  value="Date"/>
>       <staticLogFileName  value="false"/>
>       <maxSizeRollBackups value="1" />
>       <preserveLogFileNameExtension value="true" />
>       <layout type="log4net.Layout.PatternLayout">
>         <param name="ConversionPattern" value="%r %d [%t] %-5p %c - %m%n"/>
>       </layout>
>     </appender>
> Please check this bug.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to