yoavs 2005/07/28 12:40:13
Modified: docs HISTORY.txt
src/java/org/apache/log4j DailyRollingFileAppender.java
Log:
Bugzilla 30623: http://issues.apache.org/bugzilla/show_bug.cgi?id=30623
Revision Changes Path
1.33 +3 -1 logging-log4j/docs/HISTORY.txt
Index: HISTORY.txt
===================================================================
RCS file: /home/cvs/logging-log4j/docs/HISTORY.txt,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- HISTORY.txt 28 Jul 2005 19:12:46 -0000 1.32
+++ HISTORY.txt 28 Jul 2005 19:40:13 -0000 1.33
@@ -53,7 +53,9 @@
- Fixed Bugzilla 30853: made System.out printing conditional upon
log4j.debug system property. [*]
-
+
+ - Fixed Bugzilla 30623, better JavaDoc for
DailyRollingFileAppender#getDatePattern.
+ http://issues.apache.org/bugzilla/show_bug.cgi?id=30623 [*]
January 20th, 2005
1.36 +4 -1
logging-log4j/src/java/org/apache/log4j/DailyRollingFileAppender.java
Index: DailyRollingFileAppender.java
===================================================================
RCS file:
/home/cvs/logging-log4j/src/java/org/apache/log4j/DailyRollingFileAppender.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- DailyRollingFileAppender.java 23 Jul 2005 06:31:49 -0000 1.35
+++ DailyRollingFileAppender.java 28 Jul 2005 19:40:13 -0000 1.36
@@ -86,7 +86,10 @@
datePattern = pattern;
}
- /** Returns the value of the <b>DatePattern</b> option. */
+ /**
+ * Returns the value of the <b>DatePattern</b> option.
+ * By default, the pattern is set to ".yyyy-MM-dd" meaning daily rollover.
+ */
public String getDatePattern() {
return datePattern;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]