Commit 22ed1d26 by Administrator

Update application.yml

parent adf43526
......@@ -135,12 +135,11 @@ logging:
root: INFO
org.apache.ibatis.logging.stdout.StdOutImpl: DEBUG #生产禁用
file:
path: /data/logs/${spring.application.name}
name: info.log
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"
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