This commit is contained in:
jeremygan2021
2026-02-10 22:38:39 +08:00
parent 0ea5975c68
commit c55c4ca374
3 changed files with 26 additions and 4 deletions

View File

@@ -194,3 +194,17 @@ UNFOLD = {
# 禁用自动补齐斜杠,防止破坏微信支付的 POST 回调
APPEND_SLASH = False
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
},
},
'root': {
'handlers': ['console'],
'level': 'INFO',
},
}