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
[Proxy server] Add apscheduler log suppress (#13299)
Jugal D. Bhatt8b2478e7d62b
diff --git a/litellm/_logging.py b/litellm/_logging.pyindex d1084900dee..8c23994f92a 100644--- a/litellm/_logging.py+++ b/litellm/_logging.py@@ -108,9 +108,20 @@ 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)+def _suppress_loggers():+ """Suppress noisy loggers at INFO level"""+ # Suppress httpx request logging at INFO level+ httpx_logger = logging.getLogger("httpx")+ httpx_logger.setLevel(logging.WARNING)++ # Suppress APScheduler logging at INFO level+ apscheduler_executors_logger = logging.getLogger("apscheduler.executors.default")+ apscheduler_executors_logger.setLevel(logging.WARNING)+ apscheduler_scheduler_logger = logging.getLogger("apscheduler.scheduler")+ apscheduler_scheduler_logger.setLevel(logging.WARNING)++# Call the suppression function+_suppress_loggers()ALL_LOGGERS = [logging.getLogger(),