the output of uvicorn.error seems to repeat other loggers #2507
Unanswered
tomato18463
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to change the default handler of uvicorn loggers using codes like:
I find
LOGGER_NAMES = ("uvicorn.asgi", "uvicorn.access", "uvicorn")
seems sufficient to output all logs. If I useLOGGER_NAMES = ("uvicorn.asgi", "uvicorn.access", "uvicorn.error", "uvicorn")
, every log will be output twice. Does that mean the log output by uvicorn.error logger is repetition of logs output by other loggers? Thanks for your help!Beta Was this translation helpful? Give feedback.
All reactions