From 5de7bbfb48ccb79b22cc5dc59e63e10149d7cf88 Mon Sep 17 00:00:00 2001 From: shadowWalker Date: Fri, 22 Nov 2024 09:31:57 +0700 Subject: [PATCH] chore: change log stats to debug level --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 89ee652..d2b0946 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -272,7 +272,7 @@ impl P2pNetwork { Ok(P2pNetworkEvent::PeerDisconnected(conn, peer)) } InternalEvent::PeerStats(conn, to_peer, metrics) => { - log::info!("[P2pNetwork] conn {conn} to peer {to_peer} metrics {:?}", metrics); + log::debug!("[P2pNetwork] conn {conn} to peer {to_peer} metrics {:?}", metrics); self.ctx.update_metrics(&conn, to_peer, metrics); Ok(P2pNetworkEvent::Continue) }