From 36814be447a9cdc4a1e6d39a9fe16ad335ab750a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 16 Jan 2021 16:05:54 +0100 Subject: Fix S3 ListObjects result and replace println!s by debug!s --- src/api/api_server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/api/api_server.rs') diff --git a/src/api/api_server.rs b/src/api/api_server.rs index ec02572d..f0c3f31b 100644 --- a/src/api/api_server.rs +++ b/src/api/api_server.rs @@ -173,7 +173,7 @@ async fn handler_inner(garage: Arc, req: Request) -> Result { // CreateBucket // If we're here, the bucket already exists, so just answer ok - println!( + debug!( "Body: {}", std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) .unwrap_or("") @@ -229,7 +229,7 @@ async fn handler_inner(garage: Arc, req: Request) -> Result") -- cgit v1.2.3