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

List:       log4j-dev
Subject:    DO NOT REPLY [Bug 44217]  New:  - DailyRollingFileAppender weekly rotation misleading in week 1
From:       bugzilla () apache ! org
Date:       2008-01-12 14:08:40
Message-ID: bug-44217-31091 () http ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44217>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44217

           Summary: DailyRollingFileAppender weekly rotation misleading in
                    week 1
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: oliver.siegmar@xams.org


I'm using the DailyRollingFileAppender of log4j 1.2.15 with a DatePattern set to
'.'yyyy-ww

I noticed that the last week log file of 2007 .2007-52 is followed by a .2007-01
instead of a 2008-01. I guess this is because Dec. 30/31 2007 (depending on the
first day of the week) is in week 1 but this behaviour is very misleading.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

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

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