优化日志

This commit is contained in:
2025-10-17 10:44:20 +08:00
parent fa437b30aa
commit 3b967aa449
4 changed files with 10 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ server:
# 日志配置
log:
level: "info" # 日志级别: "debug", "info", "warn", "error", "dpanic", "panic", "fatal"
level: "debug" # 日志级别: "debug", "info", "warn", "error", "dpanic", "panic", "fatal"
format: "console" # 日志格式: "console" 或 "json"
enable_file: true # 是否启用文件日志
file_path: "./app_logs/app.log" # 日志文件路径