approveflow/config/testing/log.yaml

17 lines
387 B
YAML
Raw Normal View History

2024-11-14 17:02:41 +08:00
#driver: console
#formatter: text
#level: trace
#driver: single
#level: trace
#folder: /tmp/
#file: coredemo.log
driver: conselog # 切割日志
level: trace # 日志级别
file: coredemo.log # 保存的日志文件
rotate_count: 10 # 最多日志文件个数
rotate_size: 120000
rotate_time: "1m"
max_age: "10d" # 文件保存时间
date_format: "%Y-%m-%d-%H-%M" # 文件后缀格式