You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improved logging output formatting to more accurately label Uvicorn-related logs, ensuring clearer and more consistent log identification across services.
AI Usage Disclosure:
Check one of the checkboxes below:
This PR does not contain AI-generated code at all.
This PR contains AI-generated code. I have read the AI Usage Policy and this PR complies with this policy. I have tested the code locally and I am responsible for it.
I have used the following AI models and tools: TODO
Checklist
My PR addresses a single issue, fixes a single bug or makes a single improvement.
My code follows the project's code style and conventions
If applicable, I have made corresponding changes or additions to the documentation
If applicable, I have made corresponding changes or additions to tests
My changes generate no new warnings or errors
I have joined the Discord server and I will share a link to this PR with the project maintainers there
This PR corrects Uvicorn startup logs misleadingly tagged as [error] by normalizing log module names in both the backend and sync-microservice logging handlers to display [uvicorn] when the logger name originates from Uvicorn. It also reorders OpenAPI schema definitions in the documentation.
InterceptHandler.emit() detects logger names starting with "uvicorn" and forces the module_name to "uvicorn" before falling back to existing dotted-segment extraction, correcting the misleading [error] tag in Uvicorn startup logs.
Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check
✅ Passed
The code changes directly address issue #1172 by normalizing Uvicorn log source module names to 'uvicorn' instead of deriving error-prone tags from logger names.
Out of Scope Changes check
✅ Passed
The OpenAPI documentation ordering change appears incidental; all code changes focus on fixing the Uvicorn logging issue across backend and sync-microservice modules.
Title check
✅ Passed
The title accurately describes the main change: standardizing logging configuration by fixing Uvicorn log prefixes across backend and sync-microservice components.
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches🧪 Generate unit tests (beta)
Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
rohan-pandeyy
changed the title
feat: standardize logging configuration across backend services
Fix: standardize logging configuration across backend services
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addressed Issues:
Fixes #1172
Improved logging output formatting to more accurately label Uvicorn-related logs, ensuring clearer and more consistent log identification across services.
AI Usage Disclosure:
Check one of the checkboxes below:
I have used the following AI models and tools: TODO
Checklist
Summary by CodeRabbit
Refactor
Documentation