From 145d42f2c181c56f9ab3cbc73acf4930b92e6a7d Mon Sep 17 00:00:00 2001 From: Roland Sherwin Date: Tue, 4 Jun 2024 17:05:43 +0530 Subject: [PATCH] chore(launchpad): move log line out of the loop --- node-launchpad/src/node_stats.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/node-launchpad/src/node_stats.rs b/node-launchpad/src/node_stats.rs index 59bd72f6ed..fec3eb9bf3 100644 --- a/node-launchpad/src/node_stats.rs +++ b/node-launchpad/src/node_stats.rs @@ -78,7 +78,6 @@ impl NodeStats { while let Some((result, service_name)) = stream.next().await { match result { Ok(stats) => { - info!("Obtained node stats from {service_name:?}"); all_node_stats.merge(&stats); } Err(err) => { @@ -128,12 +127,11 @@ impl NodeStats { _ => {} } } - - debug!( - "Fetched stats from metrics_port {metrics_port:?} in {:?}", - now.elapsed() - ); } + trace!( + "Fetched stats from metrics_port {metrics_port:?} in {:?}", + now.elapsed() + ); Ok(stats) } }