aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/server.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-19 18:21:46 +0800
committerobscuren <geffobscura@gmail.com>2015-01-19 18:21:46 +0800
commit8d1637f5677304b3d540648cf9b4ff9f92ad7f1f (patch)
treef5a2efe4351470436d5f14c20897e6b15b5f94dc /p2p/server.go
parentb03614527bea8fee378b406e50071948e6d02f93 (diff)
downloaddexon-8d1637f5677304b3d540648cf9b4ff9f92ad7f1f.tar
dexon-8d1637f5677304b3d540648cf9b4ff9f92ad7f1f.tar.gz
dexon-8d1637f5677304b3d540648cf9b4ff9f92ad7f1f.tar.bz2
dexon-8d1637f5677304b3d540648cf9b4ff9f92ad7f1f.tar.lz
dexon-8d1637f5677304b3d540648cf9b4ff9f92ad7f1f.tar.xz
dexon-8d1637f5677304b3d540648cf9b4ff9f92ad7f1f.tar.zst
dexon-8d1637f5677304b3d540648cf9b4ff9f92ad7f1f.zip
Moved connection errors to DebugDetail level
Diffstat (limited to 'p2p/server.go')
-rw-r--r--p2p/server.go4
1 files 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
}