Commit 22ed1d26 by Administrator

Update application.yml

parent adf43526
...@@ -131,16 +131,15 @@ gx: ...@@ -131,16 +131,15 @@ gx:
cjtype: 0 cjtype: 0
# 分割日志文件 # 分割日志文件
logging: logging:
level: #生产禁用DEBUG level: #生产禁用DEBUG
root: INFO root: INFO
org.apache.ibatis.logging.stdout.StdOutImpl: DEBUG #生产禁用 org.apache.ibatis.logging.stdout.StdOutImpl: DEBUG #生产禁用
file: file:
path: /data/logs/${spring.application.name} name: /data/logs/${spring.application.name}/info.log
name: info.log
max-size: 10MB # 日志文件的最大大小 max-size: 10MB # 日志文件的最大大小
max-history: 30 # 保留日志文件的最大历史记录天数 max-history: 30 # 保留日志文件的最大历史记录天数
total-size-cap: 500MB # 日志文件的总大小上限 total-size-cap: 500MB # 日志文件的总大小上限
clean-history-on-start: true # 应用启动时清理旧的日志文件 clean-history-on-start: true # 应用启动时清理旧的日志文件
pattern: pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} %highlight(%-5level) [%thread] %logger{36}.%M %L : %msg%n" 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