Some info-level logs are omitted when using a custom log config #2505
Unanswered
jm-alan
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Normally, when starting uvicorn via the CLI
Some helpful startup information is printed to stdout:
It also includes WebSocket connection info, which is particularly useful for my application, as it is heavily SSE-dependent
However, when configured with a custom formatter, this startup and WebSocket connection info goes away, and only typical HTTP requests appear in the logs, even with the log level set to DEBUG
I see all of my application's DEBUG logging, along with those from its dependencies, but the startup information, and runtime websocket connection info, is gone.
Beta Was this translation helpful? Give feedback.
All reactions