springboot默认使用logback作为日志管理,解决办法是在springboot-start-web中排除logback,该法如下
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
springboot默认使用logback作为日志管理,解决办法是在springboot-start-web中排除logback,该法如下
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>