You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2015/08/31 06:37:33 UTC

[12/12] logging-log4j2 git commit: LOG4J2-952 - Convert InitialLoggerContext to LoggerContextRule

LOG4J2-952 - Convert InitialLoggerContext to LoggerContextRule


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

Branch: refs/heads/LOG4J2-952
Commit: 997f808ecb9679011ead74cee3252e0e73362fed
Parents: 6238c47
Author: Ralph Goers <rg...@nextiva.com>
Authored: Sun Aug 30 21:37:06 2015 -0700
Committer: Ralph Goers <rg...@nextiva.com>
Committed: Sun Aug 30 21:37:06 2015 -0700

----------------------------------------------------------------------
 .../core/appender/routing/PropertiesRoutingAppenderTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/997f808e/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/routing/PropertiesRoutingAppenderTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/routing/PropertiesRoutingAppenderTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/routing/PropertiesRoutingAppenderTest.java
index 2c02a92..81910fc 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/routing/PropertiesRoutingAppenderTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/routing/PropertiesRoutingAppenderTest.java
@@ -19,7 +19,7 @@ package org.apache.logging.log4j.core.appender.routing;
 import org.apache.logging.log4j.EventLogger;
 import org.apache.logging.log4j.core.LogEvent;
 import org.apache.logging.log4j.junit.CleanFiles;
-import org.apache.logging.log4j.junit.InitialLoggerContext;
+import org.apache.logging.log4j.junit.LoggerContextRule;
 import org.apache.logging.log4j.message.StructuredDataMessage;
 import org.apache.logging.log4j.test.appender.ListAppender;
 import org.junit.After;
@@ -45,7 +45,7 @@ public class PropertiesRoutingAppenderTest {
     private ListAppender app;
 
     @Rule
-    public InitialLoggerContext init = new InitialLoggerContext(CONFIG);
+    public LoggerContextRule init = new LoggerContextRule(CONFIG);
 
     @Rule
     public CleanFiles files = new CleanFiles(UNKNOWN_LOG_FILE, ALERT_LOG_FILE, ACTIVITY_LOG_FILE);