This commit is contained in:
oneao committed 2025-10-31 22:35:20 +08:00
1 parent 91ae4cb474
commit b116690769
14 files changed
+669 -56

No files matched your search

+11 -1
View File
@@ -14,4 +14,14 @@ db:
jwt:
secret: 3Bde3BGEbYqtqyEUzW3ry8jKFcaPH17fRmTmqE7MDr05Lwj95uruRKrrkb44TJ4s
expiry: 168h
expiry: -1
log:
dir: "logs" # 日志根目录
level: "debug" # 全局最低日志级别
format: "json" # 输出格式,可选 json 或 console
daily: true # 是否按天滚动
maxDays: 30 # 保留天数,0表示无限
caller: true # 是否记录调用文件行号
levelDirs: false # 是否按级别目录
console: true # 是否打印到控制台