[ https://issues.apache.org/jira/browse/LOG4NET-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Bodewig updated LOG4NET-185: ----------------------------------- Fix Version/s: 1.2 Maintenance Release Personally I'm not convinced this really is a bug at all. > Rolling files backups is not decreasing when updating MaxSizeRollBackups > ------------------------------------------------------------------------ > > Key: LOG4NET-185 > URL: https://issues.apache.org/jira/browse/LOG4NET-185 > Project: Log4net > Issue Type: Bug > Affects Versions: 1.2.10 > Environment: windows, all > Reporter: nir bon > Fix For: 1.2 Maintenance Release > > > When decreasing the MaxSizeRollBackups parameter at runtime. > the log4net is not deleting older files that has already written. > This means that if i change the MaxSizeRollBackups parameter repeadetly, i > can reach to very large number of old log files. > reconstruct scenario > ^^^^^^^^^^^^^^^^^^^^^^ > set number of backups to 10 files. wait till you have 10 files. > decrease number of backups to 2. > result- 10 files will remain at disk. 8 files will never be deleted, 2 files > will stay as retention. > expected - only 2 files will remain in disk. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira