From 8d1637f5677304b3d540648cf9b4ff9f92ad7f1f Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 19 Jan 2015 11:21:46 +0100 Subject: [PATCH] Moved connection errors to DebugDetail level --- p2p/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/server.go b/p2p/server.go index cfff442f7..4fd1f7d03 100644 --- a/p2p/server.go +++ b/p2p/server.go @@ -333,7 +333,7 @@ func (srv *Server) dialLoop() { case desc := <-suggest: // candidate peer found, will dial out asyncronously // if connection fails slot will be released - srvlog.Infof("dial %v (%v)", desc, *slot) + srvlog.DebugDetailf("dial %v (%v)", desc, *slot) go srv.dialPeer(desc, *slot) // we can watch if more peers needed in the next loop slots = srv.peerSlots @@ -355,7 +355,7 @@ func (srv *Server) dialPeer(desc *peerAddr, slot int) { srvlog.Debugf("Dialing %v (slot %d)\n", desc, slot) conn, err := srv.Dialer.Dial(desc.Network(), desc.String()) if err != nil { - srvlog.Errorf("Dial error: %v", err) + srvlog.DebugDetailf("dial error: %v", err) srv.peerSlots <- slot return }