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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|