Description
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.