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

Set httpx and httpcore logger level to WARNING #176

Merged
merged 4 commits into from
Dec 12, 2023

Conversation

carlcsaposs-canonical
Copy link
Contributor

@carlcsaposs-canonical carlcsaposs-canonical commented Dec 11, 2023

httpx and httpcore (used by lightkube) have noisy INFO & DEBUG level logs

Supersedes #145. It still seems a bit backwards to me to enable DEBUG level logs for all python dependencies and then manually disable logging for dependencies of our dependencies. Personally, I only think DEBUG level logs are useful for charm ecosystem code (e.g. ops, the charm, charm libs)—but it seems like the consensus from this discussion is different

@carlcsaposs-canonical carlcsaposs-canonical changed the title Set lightkube logger level to WARNING Set httpx and httpcore logger level to WARNING Dec 11, 2023
@carlcsaposs-canonical carlcsaposs-canonical marked this pull request as ready for review December 11, 2023 14:02
@carlcsaposs-canonical carlcsaposs-canonical merged commit e7c9523 into main Dec 12, 2023
13 checks passed
@carlcsaposs-canonical carlcsaposs-canonical deleted the logs-lightkube branch December 12, 2023 13:33
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.

None yet

3 participants