From 987e9194ad50c2f472499c0495638f5b8e173d9d Mon Sep 17 00:00:00 2001 From: Alvin Zhang Date: Tue, 20 Apr 2021 14:11:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=97=A5=E5=BF=97=E4=BE=9D=E8=B5=96=20?= =?UTF-8?q?log4j=EF=BC=8C=E5=85=B7=E4=BD=93=E5=AE=9E=E7=8E=B0=E7=94=B1?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=96=B9=E5=86=B3=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 如 Spring Boot 默认使用了 Logback,与 slf4j-log4j12 同时存在时会冲突 --- pom.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 714c787..4ef2dd7 100644 --- a/pom.xml +++ b/pom.xml @@ -15,14 +15,21 @@ true true 1.6 + 1.7.26 - + + slf4j-api + org.slf4j + ${slf4j.version} + org.slf4j slf4j-log4j12 - 1.7.26 + ${slf4j.version} + provided + true junit