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

Ralph Goers updated LOG4NET-185:
--------------------------------

LOG4NET is now dormant.  

> 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
>            Priority: Major
>             Fix For: 1.2/2.0 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 was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to