From 8f4278c47f6b2bc501af3e2893c12bc55ec08461 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 1 Nov 2017 10:39:25 +0000 Subject: [PATCH] Update starters to route Log4j2 API into SLF4J by default Closes gh-10847 --- .../spring-boot-starter-data-elasticsearch/pom.xml | 4 ++++ .../spring-boot-starters/spring-boot-starter-logging/pom.xml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-data-elasticsearch/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-data-elasticsearch/pom.xml index 31a9d47182a..8d9fb105291 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-data-elasticsearch/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-data-elasticsearch/pom.xml @@ -27,6 +27,10 @@ org.slf4j jcl-over-slf4j + + org.apache.logging.log4j + log4j-core + diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-logging/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-logging/pom.xml index 6328e9a8342..362eaed3f01 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-logging/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-logging/pom.xml @@ -18,6 +18,10 @@ ch.qos.logback logback-classic + + org.apache.logging.log4j + log4j-to-slf4j + org.slf4j jul-to-slf4j