Author: carnold
Date: Mon Oct 12 00:44:12 2009
New Revision: 824207

URL: http://svn.apache.org/viewvc?rev=824207&view=rev
Log:
Bug 43313: Adding cautions on use of DRFA and RFA referring to extras companion

Modified:
    
logging/log4j/trunk/src/main/java/org/apache/log4j/DailyRollingFileAppender.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/RollingFileAppender.java

Modified: 
logging/log4j/trunk/src/main/java/org/apache/log4j/DailyRollingFileAppender.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/DailyRollingFileAppender.java?rev=824207&r1=824206&r2=824207&view=diff
==============================================================================
--- 
logging/log4j/trunk/src/main/java/org/apache/log4j/DailyRollingFileAppender.java
 (original)
+++ 
logging/log4j/trunk/src/main/java/org/apache/log4j/DailyRollingFileAppender.java
 Mon Oct 12 00:44:12 2009
@@ -35,6 +35,12 @@
 /**
    DailyRollingFileAppender extends {...@link FileAppender} so that the
    underlying file is rolled over at a user chosen frequency.
+   
+   DailyRollingFileAppender has been observed to exhibit 
+   synchronization issues and data loss.  The log4j extras
+   companion includes alternatives which should be considered
+   for new deployments and which are discussed in the documentation
+   for org.apache.log4j.rolling.RollingFileAppender.
 
    <p>The rolling schedule is specified by the <b>DatePattern</b>
    option. This pattern should follow the {...@link SimpleDateFormat}
@@ -132,7 +138,7 @@
 
 
    @author Eirik Lygre
-   @author Ceki G&uuml;lc&uuml; */
+   @author Ceki G&uuml;lc&uuml;*/
 public class DailyRollingFileAppender extends FileAppender {
 
 

Modified: 
logging/log4j/trunk/src/main/java/org/apache/log4j/RollingFileAppender.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/RollingFileAppender.java?rev=824207&r1=824206&r2=824207&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/RollingFileAppender.java 
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/RollingFileAppender.java 
Mon Oct 12 00:44:12 2009
@@ -32,6 +32,11 @@
 /**
    RollingFileAppender extends FileAppender to backup the log files when
    they reach a certain size.
+   
+   The log4j extras companion includes alternatives which should be considered
+   for new deployments and which are discussed in the documentation
+   for org.apache.log4j.rolling.RollingFileAppender.
+   
 
    @author Heinz Richter
    @author Ceki G&uuml;lc&uuml;



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to