Loading...

log4net-dev@logging.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [jira] [Commented] (LOG4NET-27) Rolling files on date/time boundaries doesn't support a maximum number of backup files. Ryan Boggs Fri Apr 06 00:00:27 2012

Hi Stefan,

Unfortunately, I am still learning all the fine points of log4net to
understand these issues with this appender but I'm willing to help you
out with testing and such with what I can.  If you tell me what to
test, I can test it on a few different platforms (OpenSuSE/Mono, OS
X/Mono, WinXp/.NET, etc).  Who knows, I may even be able to send a
patch or two if possible. :)

Thanks,
Ryan

On Thu, Apr 5, 2012 at 10:31 PM, Stefan Bodewig (Commented) (JIRA)
<[EMAIL PROTECTED]> wrote:
>
>    [ 
> https://issues.apache.org/jira/browse/LOG4NET-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248077#comment-13248077
>  ]
>
> Stefan Bodewig commented on LOG4NET-27:
> ---------------------------------------
>
> This issue may be the one with the most votes, but of you search around JIRA 
> you'll see RollingFileAppender is broken in so many ways.  I think it is 
> responsible for about a third of all reports.
>
> Last summer when we waded through the issues to triage what should go into 
> 1.2.11 I deliberately left out all RFE issues as - to be honest - I don't 
> think it can be fixed without rewriting it.  Back then some people started to 
> work on a new implementation so this decision seemed to be a good one.
>
> Unfortunately life has interfered with the efforts of back then, as with the 
> time I can devote to log4net myself.  I'll look into the latest incarnation 
> of this patch but honestly would prefer a re-thought and re-written RFA 
> myself.
>
> Are there enough people watching this issue who would actually be able to 
> build log4net from svn trunk to verify it fixes their problem (and doesn't 
> introduce new ones) before I'd cut a new release?
>
>> Rolling files on date/time boundaries doesn't support a maximum number of 
>> backup files.
>> ---------------------------------------------------------------------------------------
>>
>>                 Key: LOG4NET-27
>>                 URL: https://issues.apache.org/jira/browse/LOG4NET-27
>>             Project: Log4net
>>          Issue Type: New Feature
>>          Components: Appenders
>>    Affects Versions: 1.2.11
>>            Reporter: Florian Ramillien
>>            Priority: Minor
>>             Fix For: 1.2 Maintenance Release
>>
>>         Attachments: LOG4NET-27.patch, RollingFileAppender.cs, 
>> RollingFileAppender.cs, RollingFileAppender.cs, 
>> RollingFileAppender.cs.patch, RollingFileAppender.patch
>>
>>
>> A maximum of backup files exist when rolling files on file size, but not for 
>> rolling on date/time.
>> This can be implemented with the same config key : MaxSizeRollBackups
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA 
> administrators: 
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>