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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(proxy): set verbose_logger level when LITELLM_LOG=INFO (#26401)
Yufeng Hef63a6f1b2631
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.pyindex 4ca6895c2ce..4afac7173cd 100644--- a/litellm/proxy/proxy_server.py+++ b/litellm/proxy/proxy_server.py@@ -5845,10 +5845,15 @@ async def initialize( # noqa: PLR0915if litellm_log_setting.upper() == "INFO":import logging- from litellm._logging import verbose_proxy_logger, verbose_router_logger+ from litellm._logging import (+ verbose_logger,+ verbose_proxy_logger,+ verbose_router_logger,+ )# this must ALWAYS remain logging.INFO, DO NOT MODIFY THIS+ verbose_logger.setLevel(level=logging.INFO) # set package log to infoverbose_router_logger.setLevel(level=logging.INFO) # set router logs to info