From 3251ffe1664f5357e96ced5940420b703b7fa152 Mon Sep 17 00:00:00 2001 From: John Blum Date: Mon, 15 Apr 2019 15:51:16 -0700 Subject: [PATCH] Configure logging for Apache Geode, Spring and other libraries. --- .../resources/java-util-logging.properties | 4 ++++ .../src/test/resources/log4j2-test.xml | 23 +++++++++++++++++++ .../src/test/resources/logback.xml | 4 +++- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 spring-geode-autoconfigure/src/test/resources/java-util-logging.properties create mode 100644 spring-geode-autoconfigure/src/test/resources/log4j2-test.xml diff --git a/spring-geode-autoconfigure/src/test/resources/java-util-logging.properties b/spring-geode-autoconfigure/src/test/resources/java-util-logging.properties new file mode 100644 index 00000000..97056764 --- /dev/null +++ b/spring-geode-autoconfigure/src/test/resources/java-util-logging.properties @@ -0,0 +1,4 @@ +# java.util.logging (JUL) configuration + +org.apache=ERROR +org.springframework=ERROR diff --git a/spring-geode-autoconfigure/src/test/resources/log4j2-test.xml b/spring-geode-autoconfigure/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..a4dc8556 --- /dev/null +++ b/spring-geode-autoconfigure/src/test/resources/log4j2-test.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/spring-geode-autoconfigure/src/test/resources/logback.xml b/spring-geode-autoconfigure/src/test/resources/logback.xml index de1ee09e..de99c52b 100644 --- a/spring-geode-autoconfigure/src/test/resources/logback.xml +++ b/spring-geode-autoconfigure/src/test/resources/logback.xml @@ -1,7 +1,7 @@ - + @@ -11,6 +11,8 @@ + +