From 82b4aaa9151463facdf8b1951a4376eecc72c524 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Tue, 20 Sep 2016 13:33:29 -0600 Subject: [PATCH] Remove unnecessary logging. --- src/coordinator.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/coordinator.rs b/src/coordinator.rs index 46e0bde..9eb1ec3 100644 --- a/src/coordinator.rs +++ b/src/coordinator.rs @@ -243,7 +243,6 @@ impl ConnectionHandler { if already.get().is_none() { warn!("Ignoring duplicate connection attempt (peerid={})", peerid.to_hex()); } else { - warn!("Re-established connection with peerid={}", peerid.to_hex()); already.insert(Some(stream)); } }, @@ -320,7 +319,6 @@ fn main() { if magic != NETWORK_MAGIC { warn!("Remote host {} did not supply correct network magic.", addr); } else { - info!("Establishing connection with {} (peerid={})", addr, peerid.to_hex()); stream.set_read_timeout(Some(Duration::from_secs(60))); stream.set_write_timeout(Some(Duration::from_secs(60))); handler.accept(peerid, stream);