Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add timestamp to uvicorn logs #46

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

rickstaa
Copy link
Member

@rickstaa rickstaa commented Mar 31, 2024

This pull request adds a uvicorn configuration file and uses this file during uvicorn startup to add timestamps to the uvicorn logs. The configuration is equal to the default configuration stored in uvicorn.config.LOGGING_CONFIG but with a timestamp prepended.

This commit adds a uvicorn configuration file and uses this file during
uvicorn startup to add timestamps to the uvicorn logs. The configuration
is equal to the default configuration stored in `uvicorn.config.LOGGING_CONFIG`
but with a timestamp prepended.
Copy link

@iameli iameli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rickstaa rickstaa merged commit 74e31fc into main Apr 1, 2024
1 check passed
@rickstaa rickstaa deleted the add_uvicorn_log_cfg branch April 1, 2024 07:32
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.

2 participants