Skip to content

Commit 2bd43e9

Browse files
diptanutustvold
andauthored
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>
1 parent 6aaff7e commit 2bd43e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

object_store/src/client/retry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use reqwest::header::LOCATION;
2424
use reqwest::{Client, Request, Response, StatusCode};
2525
use std::error::Error as StdError;
2626
use std::time::{Duration, Instant};
27-
use tracing::info;
27+
use tracing::{debug, info};
2828

2929
/// Retry request error
3030
#[derive(Debug, thiserror::Error)]
@@ -296,7 +296,7 @@ impl RetryableRequest {
296296
})?;
297297

298298
let response_body = String::from_utf8_lossy(&bytes);
299-
info!("Checking for error in response_body: {}", response_body);
299+
debug!("Checking for error in response_body: {}", response_body);
300300

301301
if !body_contains_error(&response_body) {
302302
// Success response and no error, clone and return response

0 commit comments

Comments
 (0)