Unverified Commit 27f502e5 authored by Steven Allen's avatar Steven Allen Committed by GitHub
Browse files

Merge pull request #443 from libp2p/fix/log-spam

downgrade protocol mux failure log to debug
parents 394c6371 e7fc8861
...@@ -222,7 +222,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) { ...@@ -222,7 +222,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) {
} }
logf("protocol EOF: %s (took %s)", s.Conn().RemotePeer(), took) logf("protocol EOF: %s (took %s)", s.Conn().RemotePeer(), took)
} else { } else {
log.Infof("protocol mux failed: %s (took %s)", err, took) log.Debugf("protocol mux failed: %s (took %s)", err, took)
} }
s.Reset() s.Reset()
return return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment