maedula opened a new issue, #250:
URL: https://github.com/apache/logging-log4net/issues/250

   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 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to