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 log levels: info for unconfigured, warning for misconfigured
yuneng-jianga1ba6c9fa643
diff --git a/litellm/proxy/db/db_transaction_queue/spend_log_cleanup.py b/litellm/proxy/db/db_transaction_queue/spend_log_cleanup.pyindex 6db7d6dd43c..a538e411b68 100644--- a/litellm/proxy/db/db_transaction_queue/spend_log_cleanup.py+++ b/litellm/proxy/db/db_transaction_queue/spend_log_cleanup.py@@ -60,7 +60,7 @@ class SpendLogCleanup:)return Trueexcept ValueError as e:- verbose_proxy_logger.error(+ verbose_proxy_logger.warning(f"Invalid maximum_spend_logs_retention_period value: {retention_setting}, error: {str(e)}")return False@@ -121,9 +121,6 @@ class SpendLogCleanup:verbose_proxy_logger.info(f"Cleanup job triggered at {datetime.now()}")if not self._should_delete_spend_logs():- verbose_proxy_logger.error(- "Skipping cleanup — invalid or missing retention setting."- )returnif self.retention_seconds is None: