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

Cleanup logging #683

Open
olevski opened this issue Feb 28, 2025 · 0 comments
Open

Cleanup logging #683

olevski opened this issue Feb 28, 2025 · 0 comments

Comments

@olevski
Copy link
Member

olevski commented Feb 28, 2025

Currently we log random things via random logging libraries. We should use just one and ensure that it works properly. The biggest problem here is that alembic does weird things with the logging.

I would prefer we used the python logging library everywhere.

For logging in requests we should use and print the request id from the header (from the gateway) in every request. That way we con search for all logs related to a single request. Which is useful.

Also it would be nice if we can control the verbosity. But we just need a normal/prod level and a debug level. We dont need more categories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant