对接日志默认仅记录告警与错误

新增 LOG_INTEGRATION_LEVEL(默认 warn),压低 integration-*.log 体积;
失败类文案自动提升为 error,避免异常被过滤。
This commit is contained in:
yml2213
2026-07-10 21:17:55 +08:00
parent 50d32be0ea
commit 01f46e4fc7
9 changed files with 43 additions and 2 deletions
+2
View File
@@ -18,6 +18,8 @@ DATABASE_URL=postgres://postgres:change-me-postgres-password@postgres:5432/order
# Logging
LOG_LEVEL=info
# integration-*.log:对接日志级别(debug|info|warn|error),默认 warn 只记异常
LOG_INTEGRATION_LEVEL=warn
LOG_RETENTION_DAYS=30
# Admin