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

Ron Grabowski resolved LOG4NET-86.
----------------------------------

    Resolution: Won't Fix

The behavior when there are millions and millions of files in a folder that 
need rolled is undefined.

I'll gladly accept a patch to improve this part of the the code or new code 
extracts the logic for how things are rolled so it can be more easily extended.

> In RollingFileAppender when setting CountDirection=1 and the curr size reach 
> int.MaxValue
> -----------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-86
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-86
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: All
>            Reporter: Tal G
>
> In RollingFileAppender when setting CountDirection=1 and the curr size reach 
> int.MaxValue the log4net
> 1. Open a new file with .-2147483648 extension. And stop deleting old files 
> for example file with extension .2147483638.
> 2. When i restart my application, it start writing log on the file with 
> .-2147483648 although the newest file is with extension .-2147483643.
> 3. etc.. many more bugs related to this issue
> I suggest that when the file extension reach int.MaxValue move to 0 again and 
> continue properly deleting old files and opening new files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to