logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-556) Rolling file appender only recognises dates in yyyy-MM-dd format.
Date Thu, 09 Mar 2017 16:35:38 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903339#comment-15903339
] 

Stefan Bodewig commented on LOG4NET-556:
----------------------------------------

Thanks Steven, I guess I've gotten carried away by my frustration with {{RollingFileAppender}}
combined with my lack of time.

Your patch probably works for most cases - more cases than the current code does. Maybe we
can just add a little extra safety net.

> Rolling file appender only recognises dates in yyyy-MM-dd format.
> -----------------------------------------------------------------
>
>                 Key: LOG4NET-556
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-556
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.0.7
>         Environment: Windows 7 and 10.
>            Reporter: Steven Nicholas
>            Priority: Minor
>              Labels: RollingFileAppender, fix
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Rolling file appender wouldn't recognise date format if it differed from yyy-MM-dd in
the config file and would roll to the next file for every logged event, leading to thousands
of files with the suffix yyyyMMdd-xxx.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message