logging:
level:
root: info
com.jzlife: debug
org.mybatis: debug
file: "logs/servantequityservice.log"
file.max-size: 20MB
file.max-history: 30
layout: org.apache.log4j.PatternLayout
ConversionPattern: "%d{yyyy-MM-dd HH:mm:ss} %5p %c %t: - %m%n"
com.jzlife: debug 是项目
logging:
config: classpath:config/logback.xml
level:
root: ${LOG_LEVEL:INFO}
com.test.demo: info
# 方便Spring Boot Admin页面上实时查看日志
file: logs/demo-server.log
包