Skip to content

Commit 8d1637f

Browse files
committed
Moved connection errors to DebugDetail level
1 parent b036145 commit 8d1637f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎p2p/server.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func (srv *Server) dialLoop() {
333333
case desc := <-suggest:
334334
// candidate peer found, will dial out asyncronously
335335
// if connection fails slot will be released
336-
srvlog.Infof("dial %v (%v)", desc, *slot)
336+
srvlog.DebugDetailf("dial %v (%v)", desc, *slot)
337337
go srv.dialPeer(desc, *slot)
338338
// we can watch if more peers needed in the next loop
339339
slots = srv.peerSlots
@@ -355,7 +355,7 @@ func (srv *Server) dialPeer(desc *peerAddr, slot int) {
355355
srvlog.Debugf("Dialing %v (slot %d)\n", desc, slot)
356356
conn, err := srv.Dialer.Dial(desc.Network(), desc.String())
357357
if err != nil {
358-
srvlog.Errorf("Dial error: %v", err)
358+
srvlog.DebugDetailf("dial error: %v", err)
359359
srv.peerSlots <- slot
360360
return
361361
}

0 commit comments

Comments
 (0)