Trying to fix a logging bug?

This commit is contained in:
Scott Idem
2023-06-13 11:21:18 -04:00
parent 826cda8e08
commit 8b529d6732

View File

@@ -53,14 +53,14 @@ logging.config.dictConfig({
# 'backupCount': 2, # 'backupCount': 2,
# } # }
}, },
# 'loggers': { 'loggers': {
# # 'uvicorn': {'handlers': ['default'], 'level': 'INFO'}, # 'uvicorn': {'handlers': ['default'], 'level': 'INFO'},
# 'uvicorn': {'handlers': ['console'], 'level': 'INFO'}, 'uvicorn': {'handlers': ['console'], 'level': 'INFO'},
# # 'uvicorn.error': {'level': 'INFO', 'handlers': ['default'], 'propagate': True}, # 'uvicorn.error': {'level': 'INFO', 'handlers': ['default'], 'propagate': True},
# # 'uvicorn.error': {'level': 'INFO', 'handlers': ['console'], 'propagate': True}, # 'uvicorn.error': {'level': 'INFO', 'handlers': ['console'], 'propagate': True},
# # 'uvicorn.access': {'handlers': ['access'], 'level': 'INFO', 'propagate': False}, # 'uvicorn.access': {'handlers': ['access'], 'level': 'INFO', 'propagate': False},
# # 'gunicorn': {'handlers': ['console'], 'level': 'INFO'}, # 'gunicorn': {'handlers': ['console'], 'level': 'INFO'},
# }, },
'root': { 'root': {
'handlers': ['log_file_all'], #, 'log_file_all', 'log_file_warning'], 'handlers': ['log_file_all'], #, 'log_file_all', 'log_file_warning'],
# 'handlers': ['console', 'log_file_all'], #, 'log_file_all', 'log_file_warning'], # 'handlers': ['console', 'log_file_all'], #, 'log_file_all', 'log_file_warning'],