Skip to content

Conversation

@6iu8a
Copy link

@6iu8a 6iu8a commented Dec 9, 2025

When setting logging's level to INFO, because the uvicorn logger's handlers list is not empty and propagation is True and its parent logger <RootLogger root (INFO)> whose handlers list is not empty also at the same time, so there will be duplicated logging info printed on the screen after executing uvicorn.run, like this:
image

@6iu8a 6iu8a marked this pull request as draft December 9, 2025 17:18
@6iu8a 6iu8a closed this Dec 9, 2025
@6iu8a 6iu8a reopened this Dec 9, 2025
@6iu8a 6iu8a marked this pull request as ready for review December 9, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant