logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1521688 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
Date Wed, 11 Sep 2013 00:07:19 GMT
Author: ggregory
Date: Wed Sep 11 00:07:19 2013
New Revision: 1521688

URL: http://svn.apache.org/r1521688
Log:
Replace "true" with null because: (1) it is simpler to use use to express the default and
"true" is not used in the target method.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java?rev=1521688&r1=1521687&r2=1521688&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java
Wed Sep 11 00:07:19 2013
@@ -163,7 +163,7 @@ public final class RollingFileAppender e
         }
 
         if (strategy == null) {
-            strategy = DefaultRolloverStrategy.createStrategy(null, null, "true", config);
+            strategy = DefaultRolloverStrategy.createStrategy(null, null, null, config);
         }
 
         if (layout == null) {



Mime
View raw message