From af7d3cd334c319d0aa8a0d55d17e678ed377fb2a Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 9 Sep 2025 12:51:03 -0700 Subject: [PATCH] [Fix] Remove INFO level log from /messages endpoint (#14377) * fix: verbose_proxy_logger.debug * fix: chat_completion_pass_through_endpoint --- litellm/proxy/anthropic_endpoints/endpoints.py | 2 +- litellm/proxy/pass_through_endpoints/pass_through_endpoints.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/proxy/anthropic_endpoints/endpoints.py b/litellm/proxy/anthropic_endpoints/endpoints.py index 2de5ec1ee1..0dda5cecc8 100644 --- a/litellm/proxy/anthropic_endpoints/endpoints.py +++ b/litellm/proxy/anthropic_endpoints/endpoints.py @@ -205,7 +205,7 @@ async def anthropic_response( # noqa: PLR0915 data=data, user_api_key_dict=user_api_key_dict, response=response # type: ignore ) - verbose_proxy_logger.info("\nResponse from Litellm:\n{}".format(response)) + verbose_proxy_logger.debug("\nResponse from Litellm:\n{}".format(response)) return response except Exception as e: await proxy_logging_obj.post_call_failure_hook( diff --git a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py index 85bdad11f7..6e5d4faabd 100644 --- a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py +++ b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py @@ -264,7 +264,7 @@ async def chat_completion_pass_through_endpoint( # noqa: PLR0915 ) ) - verbose_proxy_logger.info("\nResponse from Litellm:\n{}".format(response)) + verbose_proxy_logger.debug("\nResponse from Litellm:\n{}".format(response)) return response except Exception as e: await proxy_logging_obj.post_call_failure_hook(