From c27d774a5b0f123a551ea79929306d8cc92c885c Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 18 十二月 2024 16:53:48 +0800 Subject: [PATCH] 系统添加日志记录,SLF4J+Logback组合 --- pom.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/pom.xml b/pom.xml index 30e99f2..c600161 100644 --- a/pom.xml +++ b/pom.xml @@ -242,6 +242,17 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-logging</artifactId> + <exclusions> + <exclusion> + <!--鎺掗櫎log4j渚濊禆--> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-to-slf4j</artifactId> + </exclusion> + </exclusions> + </dependency> </dependencies> <build> -- Gitblit v1.9.1