From 2bd43e99da6258926927cf2904e1eac815542b8f Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Tue, 28 Jan 2025 13:47:15 -0800 Subject: [PATCH] Change Log On Succesful S3 Copy / Multipart Upload to Debug (#7033) * Update retry.rs * Update object_store/src/client/retry.rs Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> --------- Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> --- object_store/src/client/retry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/object_store/src/client/retry.rs b/object_store/src/client/retry.rs index 8938b0861cca..a3f8fcb78cfc 100644 --- a/object_store/src/client/retry.rs +++ b/object_store/src/client/retry.rs @@ -24,7 +24,7 @@ use reqwest::header::LOCATION; use reqwest::{Client, Request, Response, StatusCode}; use std::error::Error as StdError; use std::time::{Duration, Instant}; -use tracing::info; +use tracing::{debug, info}; /// Retry request error #[derive(Debug, thiserror::Error)] @@ -296,7 +296,7 @@ impl RetryableRequest { })?; let response_body = String::from_utf8_lossy(&bytes); - info!("Checking for error in response_body: {}", response_body); + debug!("Checking for error in response_body: {}", response_body); if !body_contains_error(&response_body) { // Success response and no error, clone and return response