Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

suppress httpx logging (#13217)

Jugal D. Bhattc125ae453bd8
diff --git a/litellm/_logging.py b/litellm/_logging.py
index 356bb3dcaf7..d1084900dee 100644
--- a/litellm/_logging.py
+++ b/litellm/_logging.py
@@ -108,6 +108,10 @@ verbose_router_logger.addHandler(handler)
verbose_proxy_logger.addHandler(handler)
verbose_logger.addHandler(handler)
+# Suppress httpx request logging at INFO level
+httpx_logger = logging.getLogger("httpx")
+httpx_logger.setLevel(logging.WARNING)
+
ALL_LOGGERS = [
logging.getLogger(),
verbose_logger,