You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/08/08 17:42:57 UTC

[2/2] logging-log4j2 git commit: [LOG4J2-1501] FileAppender should be able to create files lazily.

[LOG4J2-1501] FileAppender should be able to create files lazily.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/4fc1c5f0
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/4fc1c5f0
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/4fc1c5f0

Branch: refs/heads/master
Commit: 4fc1c5f07d4be5109bb229542258490b0bf39239
Parents: 16d06e8
Author: Gary Gregory <gg...@apache.org>
Authored: Mon Aug 8 10:42:54 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Mon Aug 8 10:42:54 2016 -0700

----------------------------------------------------------------------
 .../logging/log4j/core/config/CustomConfigurationTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/4fc1c5f0/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CustomConfigurationTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CustomConfigurationTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CustomConfigurationTest.java
index b8dad5e..6888204 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CustomConfigurationTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CustomConfigurationTest.java
@@ -80,8 +80,8 @@ public class CustomConfigurationTest {
             .withPattern(PatternLayout.SIMPLE_CONVERSION_PATTERN)
             .withConfiguration(config)
             .build();
-        final Appender appender = FileAppender.createAppender(LOG_FILE, "false", "false", "File", "true",
-            "false", "false", "4000", layout, null, "false", null, config);
+        final Appender appender = FileAppender.createAppender(LOG_FILE, false, false, "File", true,
+            false, false, 4000, layout, null, false, null, false, config);
         appender.start();
         config.addAppender(appender);
         final AppenderRef ref = AppenderRef.createAppenderRef("File", null, null);