This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 2bd43e99da Change Log On Succesful S3 Copy / Multipart Upload to Debug
(#7033)
2bd43e99da is described below
commit 2bd43e99da6258926927cf2904e1eac815542b8f
Author: Diptanu Choudhury <[email protected]>
AuthorDate: Tue Jan 28 13:47:15 2025 -0800
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
<[email protected]>
---------
Co-authored-by: Raphael Taylor-Davies
<[email protected]>
---
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 8938b0861c..a3f8fcb78c 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