p2p/proto/mux: make log more useful
Juan Batiz-Benet committed
Jan 19, 2015 at 19:23 UTC
8e9413bd578f38d0cb3f46447736289cf47d3332
1 file changed
+1
-1
p2p/protocol/mux.go
+1
-1
@@ -115,7 +115,7 @@ func (m *Mux) HandleSync(s inet.Stream) {
115
return
116
}
117
118
- log.Infof("muxer handle protocol: %s", name)
118
+ log.Infof("muxer handle protocol %s: %s", s.Conn().RemotePeer(), name)
119
handler(s)
120
}
121