From cb9771ae23e58cfae99c7922391a42f0abba7f1c Mon Sep 17 00:00:00 2001 From: Iwan BK Date: Fri, 13 Dec 2024 17:13:10 +0700 Subject: [PATCH] remove unnecessary logs --- zstor/src/actors/zstor.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zstor/src/actors/zstor.rs b/zstor/src/actors/zstor.rs index cca561b..59db0a2 100644 --- a/zstor/src/actors/zstor.rs +++ b/zstor/src/actors/zstor.rs @@ -340,13 +340,11 @@ impl Handler for ZstorActor { if let Some(data) = data { if data.as_slice() == shards[i].as_ref() { used_backends.push((key, Some(old_metadata.shards()[i].zdb().clone()))); - debug!("Shard {} is the SAME", i); } else { used_backends.push((key, None)); - warn!("Shard {} is DIFFERENT", i); + error!("Shard {} is DIFFERENT", i); } } else { - debug!("Shard {} is MISSING", i); used_backends.push((key, None)); } }