From b2c101aaecd34339afcc4844311f37280d03d48e Mon Sep 17 00:00:00 2001 From: Jason Song Date: Sun, 19 Dec 2021 21:52:32 +0800 Subject: [PATCH] refactor(apollo-demo): use logback (#4163) --- apollo-demo/pom.xml | 22 --------------- .../resources/{log4j2.xml => logback.xml} | 28 ++++++------------- 2 files changed, 8 insertions(+), 42 deletions(-) rename apollo-demo/src/main/resources/{log4j2.xml => logback.xml} (50%) diff --git a/apollo-demo/pom.xml b/apollo-demo/pom.xml index 0bc0425cf19..7a358583bfa 100644 --- a/apollo-demo/pom.xml +++ b/apollo-demo/pom.xml @@ -44,34 +44,12 @@ org.springframework.boot spring-boot-starter - - - org.springframework.boot - spring-boot-starter-logging - - - - - org.springframework.boot - spring-boot-starter-log4j2 org.springframework.cloud spring-cloud-context - - org.apache.logging.log4j - log4j-core - - - org.apache.logging.log4j - log4j-api - - - org.apache.logging.log4j - log4j-slf4j-impl - org.slf4j diff --git a/apollo-demo/src/main/resources/log4j2.xml b/apollo-demo/src/main/resources/logback.xml similarity index 50% rename from apollo-demo/src/main/resources/log4j2.xml rename to apollo-demo/src/main/resources/logback.xml index 39c985375a7..802c8a47efe 100644 --- a/apollo-demo/src/main/resources/log4j2.xml +++ b/apollo-demo/src/main/resources/logback.xml @@ -15,24 +15,12 @@ ~ limitations under the License. ~ --> - - - - - - - - - - - - - - - - - - - - + + + + + + + +