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/09/02 20:32:41 UTC
logging-log4j2 git commit: Add 0-arg ctor.
Repository: logging-log4j2
Updated Branches:
refs/heads/LOG4J2-1558 8f5ac5307 -> 526568039
Add 0-arg ctor.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/52656803
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/52656803
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/52656803
Branch: refs/heads/LOG4J2-1558
Commit: 526568039bf6accb9a0f79948a70ffee0a4bfda2
Parents: 8f5ac53
Author: ggregory <gg...@apache.org>
Authored: Fri Sep 2 13:32:35 2016 -0700
Committer: ggregory <gg...@apache.org>
Committed: Fri Sep 2 13:32:35 2016 -0700
----------------------------------------------------------------------
.../org/apache/logging/log4j/junit/LoggerContextRule.java | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/52656803/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
index b3ec1e0..032254e 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextRule.java
@@ -57,6 +57,13 @@ public class LoggerContextRule implements TestRule {
private TimeUnit shutdownTimeUnit;
/**
+ * Constructs a new LoggerContextRule without a configuration file.
+ */
+ public LoggerContextRule() {
+ this(null, null);
+ }
+
+ /**
* Constructs a new LoggerContextRule for a given configuration file.
*
* @param configLocation