日志: app-server 增加 JSON 文件输出供阿里云 SLS 采集 #19
Reference in New Issue
Block a user
Delete Branch "feat/sls-json-logging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
app/core/logging.py:
单行 JSON (time/level/service/logger/func/line/message, 异常栈内嵌不换行)。
(admin 子进程应设独立 LOG_FILE 避免与主进程争抢同一轮转文件)。
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com