From 9e3e8f45d288ccd094088bca457c3ed97a6b7db6 Mon Sep 17 00:00:00 2001 From: John Blum Date: Sun, 28 Apr 2019 19:17:09 -0700 Subject: [PATCH] Add logging configuration files for JUL, Log4j and SLF4J to the Spring Boot Actuator Sample application. --- .../resources/java-util-logging.properties | 4 ++++ .../src/main/resources/log4j2-test.xml | 23 +++++++++++++++++++ .../actuator/src/main/resources/logback.xml | 22 ++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 spring-geode-samples/boot/actuator/src/main/resources/java-util-logging.properties create mode 100644 spring-geode-samples/boot/actuator/src/main/resources/log4j2-test.xml create mode 100644 spring-geode-samples/boot/actuator/src/main/resources/logback.xml diff --git a/spring-geode-samples/boot/actuator/src/main/resources/java-util-logging.properties b/spring-geode-samples/boot/actuator/src/main/resources/java-util-logging.properties new file mode 100644 index 00000000..97056764 --- /dev/null +++ b/spring-geode-samples/boot/actuator/src/main/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-samples/boot/actuator/src/main/resources/log4j2-test.xml b/spring-geode-samples/boot/actuator/src/main/resources/log4j2-test.xml new file mode 100644 index 00000000..a4dc8556 --- /dev/null +++ b/spring-geode-samples/boot/actuator/src/main/resources/log4j2-test.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/spring-geode-samples/boot/actuator/src/main/resources/logback.xml b/spring-geode-samples/boot/actuator/src/main/resources/logback.xml new file mode 100644 index 00000000..de99c52b --- /dev/null +++ b/spring-geode-samples/boot/actuator/src/main/resources/logback.xml @@ -0,0 +1,22 @@ + + + + + + + + %d %5p %40.40c:%4L - %m%n + + + + + + + + + + + + + +