Skip to content

how can i disable logging? #2733

Closed Answered by zanieb
danila-schelkov asked this question in Q&A
Discussion options

You must be logged in to vote

logging.getLogger("httpx").setLevel("CRITICAL") should do it — the handler is likely for your "root" logger. You could also disable propagation logging.getLogger("httpx").propagate = False

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danila-schelkov
Comment options

Answer selected by danila-schelkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants