Open
Description
Starting with v3.1.0 my logfiles are no longer correctly rolled. It is only rolling max 1 additional file and gots constantly overwritten instead of having max 100 as configured. I use the following configuration:
<appender name="Log"
type="log4net.Appender.RollingFileAppender">
<file type="log4net.Util.PatternString">
<conversionPattern value="%property{LogFolder}\\Logging.log"/>
</file>
<param name="StaticLogFileName" value="true"/>
<param name="AppendToFile" value="false"/>
<rollingStyle value="Size"/>
<maximumFileSize value="500MB"/>
<maxSizeRollBackups value="100"/>
<CountDirection value="1"/>
<preserveLogFileNameExtension value="true"/>
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern"
value="%date [%3thread] %-5level %logger{1} %-20message %n"/>
</layout>
...
</appender>
To me it looks like related to the recent changes in issue report #232