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
Update litellm/litellm_core_utils/litellm_logging.py
Harshit Jainacfddf204985
diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.pyindex 0ee33d0c3b0..ed8ef994b0f 100644--- a/litellm/litellm_core_utils/litellm_logging.py+++ b/litellm/litellm_core_utils/litellm_logging.py@@ -3137,15 +3137,11 @@ class Logging(LiteLLMLoggingBaseClass):else:combined = list(dynamic_success_callbacks) + list(global_callbacks)- verbose_logger.debug(- f"[LANGFUSE DEBUG] Combined callbacks BEFORE filtering: {[self._get_callback_name(cb) for cb in combined]}"- )- verbose_logger.debug(- f"[LANGFUSE DEBUG] Dynamic callbacks: {[self._get_callback_name(cb) for cb in (dynamic_success_callbacks or [])]}"- )- verbose_logger.debug(- f"[LANGFUSE DEBUG] Global callbacks: {[self._get_callback_name(cb) for cb in global_callbacks]}"- )+ if verbose_logger.isEnabledFor(logging.DEBUG):+ verbose_logger.debug(+ "Combined callbacks BEFORE filtering: %s",+ [self._get_callback_name(cb) for cb in combined],+ )# Filter duplicate Langfuse loggers to prevent trace leakage# Only keep ONE Langfuse logger per request (prefer dynamic over global)