1.Springboot默认使用logback
2.切换到log4j2
org.springframework.boot
spring-boot-starter-web
spring-boot-starter-logging
org.springframework.boot
org.springframework.boot
spring-boot-starter-log4j2
Original: https://www.cnblogs.com/NIAN2011/p/16729431.html
Author: NIANER2011
Title: 6.Springboot切换日志框架
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/609142/
转载文章受原作者版权保护。转载请注明原作者出处!