DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17144>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17144 Semantic problems with examples in DailyRollingFileAppender documentations Summary: Semantic problems with examples in DailyRollingFileAppender documentations Product: Log4j Version: unspecified Platform: Other URL: http://jakarta.apache.org/log4j/docs/api/org/apache/log4 j/DailyRollingFileAppender.html OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The use of Midnight seems to be consistently applied as if it represented the end of a day. In fact, Midnight is the beginning of the day so that the Example for DatePattern "'.'yyyy-MM-dd" (Rollover at midnight each day.) which currently says: At midnight, on March 8th, 2002, /foo/bar.log will be copied to /foo/bar.log.2002-03-08. Logging for the 9th day of March will be output to /foo/bar.log until it is rolled over the next day. ...is wrong. And should be either: At midnight, on March 8th, 2002, /foo/bar.log will be copied to /foo/bar.log.2002-03-07. Logging for the 8th day of March will be output to /foo/bar.log until it is rolled over the next day. Or: At midnight, on March 9th, 2002, /foo/bar.log will be copied to /foo/bar.log.2002-03-08. Logging for the 9th day of March will be output to /foo/bar.log until it is rolled over the next day. depending on which midnight is meant. There is also a typo in the example for the minutely DatePattern: '.'yyyy-MM-dd- HH-mm The existing text of the Example: At approximately 11:23,000, on March 9th, 2001, /foo/bar.log will be copied to /foo/bar.log.2001-03-09-10-22. Logging for the minute of 11:23 (9th of March) will be output to /foo/bar.log until it is rolled over the next minute. Note that the HOUR is "-10-", but should be "-11-". It would appear that the text from the Hourly DatePattern example was unsuccessfully converted. -Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]