Commit 4394124c by Administrator

Update application.yml

parent 51315290
......@@ -131,9 +131,11 @@ gx:
cjtype: 0
# 分割日志文件
logging:
file:
name: logs/myapp.log
max-size: 10MB
logback:
rollingpolicy:
max-history: 30
total-size-cap: 500MB
rolling-policy: fixed
total-size-cap: "500MB"
max-file-size: "10MB"
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36}.%M(%L) - %msg%n"
file: "%d{yyyy-MM-dd HH:mm-dd} [%thread] %-5level %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