Fix lightrag logger initailization problem, fix gunicorn acccess log missing

This commit is contained in:
yangdx
2025-02-28 16:07:33 +08:00
parent 157ec862ae
commit 81f6f6e343
2 changed files with 7 additions and 14 deletions

View File

@@ -70,11 +70,6 @@ logconfig_dict = {
'level': 'INFO',
'propagate': False
},
'uvicorn': {
'handlers': ['console', 'file'],
'level': 'INFO',
'propagate': False
},
'gunicorn': {
'handlers': ['console', 'file'],
'level': 'INFO',
@@ -84,6 +79,11 @@ logconfig_dict = {
'handlers': ['console', 'file'],
'level': 'INFO',
'propagate': False
},
'gunicorn.access': {
'handlers': ['console', 'file'],
'level': 'INFO',
'propagate': False
}
}
}