From 34518525a505a479d3d812d18683f20ca8dda0b5 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 2 Dec 2020 15:09:59 +1000 Subject: [PATCH] Improve peer set logging hints Delete hints about configuring peers. Delete hint for typical "no ready peers" behaviour. --- zebra-network/src/peer_set/set.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra-network/src/peer_set/set.rs b/zebra-network/src/peer_set/set.rs index bbd54569..8624b4d8 100644 --- a/zebra-network/src/peer_set/set.rs +++ b/zebra-network/src/peer_set/set.rs @@ -374,9 +374,9 @@ where self.last_peer_log = Some(Instant::now()); if unready_services_len == 0 { - warn!("network request with no peer connections. Hint: check your network connection. Configure fast and reliable initial peers"); + warn!("network request with no peer connections. Hint: check your network connection"); } else { - info!("network request with no ready peers: finding more peers, waiting for {} peers to answer requests. Hint: configure fast and reliable initial peers", + info!("network request with no ready peers: finding more peers, waiting for {} peers to answer requests", unready_services_len); } }