You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "nir bon (JIRA)" <ji...@apache.org> on 2008/11/09 10:50:44 UTC
[jira] Created: (LOG4NET-185) Rolling files backups is not
decreasing when updating MaxSizeRollBackups
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
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.
-
You can reply to this email to add a comment to the issue online.