Commit 2254a410 by Administrator

Update application.yml

parent 5c46fb9c
......@@ -134,13 +134,12 @@ logging:
level:
root: INFO #生产禁用DEBUG
org.apache.ibatis.logging.stdout.StdOutImpl: DEBUG #生产禁用
logback:
rolling-policy:
max-history: 30
total-size-cap: "500MB"
max-file-size: "1KB"
file:
name: /data/logs/${spring.application.name}/info.log
max-size: 10MB # 日志文件的最大大小
max-history: 30 # 保留日志文件的最大历史记录天数
total-size-cap: 500MB # 日志文件的总大小上限
clean-history-on-start: true # 应用启动时清理旧的日志文件
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} %highlight(%-5level) [%thread] %logger{36}.%M %L : %msg%n"
file: "%d{yyyy-MM-dd HH:mm-ss} %highlight(%-5level) [%thread] %logger{36}.%M %L : %msg%n"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment