Format nits. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/85f214e7 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/85f214e7 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/85f214e7
Branch: refs/heads/LOG4J2-1010&LOG4J2-1447-injectable-contextdata&better-datastructure Commit: 85f214e788d91f0451e299f448ff1fe2a76eb4fd Parents: 5494a25 Author: Gary Gregory <ggreg...@apache.org> Authored: Mon Aug 15 13:08:42 2016 -0700 Committer: Gary Gregory <ggreg...@apache.org> Committed: Mon Aug 15 13:08:42 2016 -0700 ---------------------------------------------------------------------- .../java/org/apache/logging/log4j/core/layout/GelfLayoutTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/85f214e7/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/GelfLayoutTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/GelfLayoutTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/GelfLayoutTest.java index 8bcdd14..74b5c10 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/GelfLayoutTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/GelfLayoutTest.java @@ -41,9 +41,10 @@ import static net.javacrumbs.jsonunit.JsonAssert.assertJsonEquals; import static org.junit.Assert.assertEquals; public class GelfLayoutTest { + static ConfigurationFactory configFactory = new BasicConfigurationFactory(); + private static final String HOSTNAME = "TheHost"; - private static final String KEY1 = "Key1"; private static final String KEY2 = "Key2"; private static final String LINE1 = "empty mdc";