fix: 🐛 celery 日志不显示问题
parent
5f2758c937
commit
03455ba9d0
|
@ -255,21 +255,11 @@ LOGGING = {
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
"propagate": False,
|
"propagate": False,
|
||||||
},
|
},
|
||||||
'celery': {
|
|
||||||
'handlers': ["console", "error", "file"],
|
|
||||||
'propagate': False,
|
|
||||||
'level': "INFO"
|
|
||||||
},
|
|
||||||
'django.db.backends': {
|
'django.db.backends': {
|
||||||
'handlers': ["console", "error", "file"],
|
'handlers': ["console", "error", "file"],
|
||||||
'propagate': False,
|
'propagate': False,
|
||||||
'level': "INFO"
|
'level': "INFO"
|
||||||
},
|
},
|
||||||
'django.request': {
|
|
||||||
'handlers': ["console", "error", "file"],
|
|
||||||
'propagate': False,
|
|
||||||
'level': "DEBUG"
|
|
||||||
},
|
|
||||||
"uvicorn.error": {
|
"uvicorn.error": {
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
"handlers": ["console", "error", "file"],
|
"handlers": ["console", "error", "file"],
|
||||||
|
|
Loading…
Reference in New Issue