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 2015/08/20 03:10:57 UTC

logging-log4j2 git commit: Better test.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 2e092d301 -> 273d2880a


Better test.

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

Branch: refs/heads/master
Commit: 273d2880aab93534edd70517210a16b879b9c559
Parents: 2e092d3
Author: ggregory <gg...@apache.org>
Authored: Wed Aug 19 18:10:55 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Wed Aug 19 18:10:55 2015 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/logging/log4j/core/LoggerTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/273d2880/log4j-core/src/test/java/org/apache/logging/log4j/core/LoggerTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/LoggerTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/LoggerTest.java
index d91a50e..6c05a5d 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/LoggerTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/LoggerTest.java
@@ -154,7 +154,7 @@ public class LoggerTest {
         loggerChild.debug("Debug message 1 child");
         final List<LogEvent> events = app.getEvents();
         assertEventCount(events, 2);
-        Configurator.setLevel(logger.getName(), Level.OFF);
+        Configurator.setLevel(logger.getName(), Level.ERROR);
         Configurator.setLevel(loggerChild.getName(), Level.DEBUG);
         logger.debug("Debug message 2");
         loggerChild.debug("Debug message 2 child");