Commit 4394124c by Administrator

Update application.yml

parent 51315290
...@@ -131,9 +131,11 @@ gx: ...@@ -131,9 +131,11 @@ gx:
cjtype: 0 cjtype: 0
# 分割日志文件 # 分割日志文件
logging: logging:
file: logback:
name: logs/myapp.log rollingpolicy:
max-size: 10MB
max-history: 30 max-history: 30
total-size-cap: 500MB total-size-cap: "500MB"
rolling-policy: fixed 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