From 0f5b09e4775b8f01a7fa2dc2c984df692b65a202 Mon Sep 17 00:00:00 2001 From: joshieDo <93316087+joshieDo@users.noreply.github.com> Date: Mon, 2 Dec 2024 20:25:23 +0000 Subject: [PATCH] downgrade event sf producer and pruner to debug --- crates/node/events/src/node.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/node/events/src/node.rs b/crates/node/events/src/node.rs index edd85501ec0a..86f1ea507ac5 100644 --- a/crates/node/events/src/node.rs +++ b/crates/node/events/src/node.rs @@ -298,14 +298,14 @@ impl NodeState { fn handle_pruner_event(&self, event: PrunerEvent) { match event { PrunerEvent::Started { tip_block_number } => { - info!(tip_block_number, "Pruner started"); + debug!(tip_block_number, "Pruner started"); } PrunerEvent::Finished { tip_block_number, elapsed, stats } => { let stats = format!( "[{}]", stats.iter().map(|item| item.to_string()).collect::>().join(", ") ); - info!(tip_block_number, ?elapsed, %stats, "Pruner finished"); + debug!(tip_block_number, ?elapsed, pruned_segments = %stats, "Pruner finished"); } } } @@ -313,10 +313,10 @@ impl NodeState { fn handle_static_file_producer_event(&self, event: StaticFileProducerEvent) { match event { StaticFileProducerEvent::Started { targets } => { - info!(?targets, "Static File Producer started"); + debug!(?targets, "Static File Producer started"); } StaticFileProducerEvent::Finished { targets, elapsed } => { - info!(?targets, ?elapsed, "Static File Producer finished"); + debug!(?targets, ?elapsed, "Static File Producer finished"); } } }