Skip to content

Commit

Permalink
Silenced httpcore logs in CI since they make logs hard to read
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza committed Sep 13, 2024
1 parent 44d0b34 commit 03ab68a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paperqa/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,9 @@ def setup_default_logs() -> None:
"stream": "ext://sys.stdout",
},
},
# Lower level for httpx and LiteLLM
# Lower level for verbose logs
"loggers": {
"httpcore": {"level": "WARNING"},
"httpx": {"level": "WARNING"},
# SEE: https://github.com/BerriAI/litellm/issues/2256
"LiteLLM": {"level": "WARNING"},
Expand Down

0 comments on commit 03ab68a

Please sign in to comment.