Browse Source

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

downgrade protocol mux failure log to debug
pull/451/head
Steven Allen 6 years ago
committed by GitHub
parent
commit
27f502e525
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      p2p/host/basic/basic_host.go

2
p2p/host/basic/basic_host.go

@ -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

Loading…
Cancel
Save