[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4net-dev
Subject:    [jira] [Updated] (LOG4NET-337) RollingFileAppender.RollOverIfDateBoundaryCrossing doesn't take
From:       "Terry Hughes (JIRA)" <jira () apache ! org>
Date:       2012-09-14 8:05:07
Message-ID: 1211968377.79468.1347609907677.JavaMail.jiratomcat () arcas
[Download RAW message or body]


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

Terry Hughes updated LOG4NET-337:
---------------------------------

    Attachment: LOG4NET-337.patch
    
> RollingFileAppender.RollOverIfDateBoundaryCrossing doesn't take \
>                 PreserveLogFileNameExtension into account
> ---------------------------------------------------------------------------------------------------------
>  
> Key: LOG4NET-337
> URL: https://issues.apache.org/jira/browse/LOG4NET-337
> Project: Log4net
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 1.2.11
> Environment: Windows 7
> Reporter: Jens Weiermann
> Attachments: LOG4NET-337.patch
> 
> 
> If a roll over is needed for crossing a date boundary since the last run, the \
> m_scheduledFilename variable is set up based on the last write time of the log \
> file. However, if PreserveLogFileNameExtension is set to true, this extension is \
> NOT preserved, instead this option is ignored. This leads to wrong backup file \
> names.As an example, if the log filename is file.log and the last write time of the \
> file is 2012-04-30, the generated filename is file.log.2012-04-30 instead of \
> file.2012-04-30.log as it should be. Steps to reproduce: set up a \
> RollingFileAppender, set it's PreserveLogFileNameExtension to true and have it \
> RollOverIfDateBoundaryCrossing...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic