You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by yo...@apache.org on 2004/06/03 15:58:12 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j DailyRollingFileAppender.java
yoavs 2004/06/03 06:58:12
Modified: src/java/org/apache/log4j DailyRollingFileAppender.java
Log:
Replaced call to deprecated closeFile with closeWriter as suggested in closeFile deprecation notice.
Revision Changes Path
1.29 +1 -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.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- DailyRollingFileAppender.java 28 May 2004 18:13:36 -0000 1.28
+++ DailyRollingFileAppender.java 3 Jun 2004 13:58:12 -0000 1.29
@@ -242,7 +242,7 @@
}
// close current file, and rename it to datedFilename
- this.closeFile();
+ this.closeWriter();
File target = new File(scheduledFilename);
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org