chore(logging): 默认使用 console 普通日志输出

- 将配置默认 log.format 从 json 调整为 console\n- 将 logger 初始化兜底默认格式调整为 console\n- 同步更新 deploy 配置示例
This commit is contained in:
yangjianbo
2026-02-12 19:07:16 +08:00
parent 584cfc3db2
commit 3511376c2c
3 changed files with 3 additions and 3 deletions

View File

@@ -296,7 +296,7 @@ log:
level: "info"
# Log format: json/console
# 日志格式json/console
format: "json"
format: "console"
# Service name field written into each log line
# 每条日志都会附带 service 字段
service_name: "sub2api"