When running a FastAPI (or any ASGI) app with Uvicorn, you might notice that
Python’s logging output and Uvicorn’s own logs use different formats.
This can clutter your logs and make it harder to trace issues consistently.
Here’s how you can unify both into a clean, consistent format — and fully control the log behavior.