chore(log): 日志只记录错误信息
- uvicorn access_log 设为 False,关闭 HTTP 访问日志 - .env.example 中 LOG_LEVEL 默认改为 ERROR
This commit is contained in:
@@ -79,4 +79,4 @@ SMS_BASE_URL=https://bjksmtn.b2m.cn/inter/sendSingleSMS
|
||||
|
||||
# === 日志配置 ===
|
||||
# 生产环境建议 INFO
|
||||
LOG_LEVEL=DEBUG
|
||||
LOG_LEVEL=ERROR
|
||||
|
||||
Reference in New Issue
Block a user