Repository: logging-log4j2 Updated Branches: refs/heads/master 87eb6dcc3 -> ece34c134
Document hack. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/d2c52640 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/d2c52640 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/d2c52640 Branch: refs/heads/master Commit: d2c5264025c590c3030f8cb646fbd21cc1c81b20 Parents: 87eb6dc Author: Gary Gregory <[email protected]> Authored: Tue Nov 18 00:50:48 2014 -0500 Committer: Gary Gregory <[email protected]> Committed: Tue Nov 18 00:50:48 2014 -0500 ---------------------------------------------------------------------- .../java/org/apache/logging/log4j/junit/InitialLoggerContext.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/d2c52640/log4j-core/src/test/java/org/apache/logging/log4j/junit/InitialLoggerContext.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/junit/InitialLoggerContext.java b/log4j-core/src/test/java/org/apache/logging/log4j/junit/InitialLoggerContext.java index 138edf4..b1e3ff1 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/junit/InitialLoggerContext.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/junit/InitialLoggerContext.java @@ -50,6 +50,7 @@ public class InitialLoggerContext implements TestRule { @Override public Statement apply(final Statement base, final Description description) { + // Hack: Using -DEBUG as a JVM param sets a property called "EBUG"... if (System.getProperties().containsKey("EBUG")) { StatusLogger.getLogger().setLevel(Level.DEBUG); }
