From 237690b8760f6e9c3be9e8665b7a3c7889da8e60 Mon Sep 17 00:00:00 2001 From: weisd Date: Thu, 21 Nov 2024 17:35:13 +0800 Subject: [PATCH] rm unuse log --- rustfs/src/storage/ecfs.rs | 3 --- scripts/run.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/rustfs/src/storage/ecfs.rs b/rustfs/src/storage/ecfs.rs index 67ba9981b..202247d11 100644 --- a/rustfs/src/storage/ecfs.rs +++ b/rustfs/src/storage/ecfs.rs @@ -363,7 +363,6 @@ impl S3 for FS { ..Default::default() }; - debug!("get_object response {:?}", output); Ok(S3Response::new(output)) } @@ -406,7 +405,6 @@ impl S3 for FS { .get_object_info(&bucket, &key, &ObjectOptions::default()) .await .map_err(to_s3_error)?; - debug!("info {:?}", info); let content_type = { if let Some(content_type) = info.content_type { @@ -854,7 +852,6 @@ impl S3 for FS { #[tracing::instrument(level = "debug", skip(self))] async fn put_bucket_tagging(&self, req: S3Request) -> S3Result> { let PutBucketTaggingInput { bucket, tagging, .. } = req.input; - log::debug!("bucket: {bucket}, tagging: {tagging:?}"); let layer = new_object_layer_fn(); let lock = layer.read().await; diff --git a/scripts/run.sh b/scripts/run.sh index e7bd04f0f..261ee695f 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -7,7 +7,7 @@ mkdir -p ./target/volume/test{0..4} if [ -z "$RUST_LOG" ]; then - export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,reader=debug,router=debug" + export RUST_LOG="rustfs=debug,ecstore=debug,s3s=info,reader=debug,router=debug" fi # export RUSTFS_ERASURE_SET_DRIVE_COUNT=5