Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
27f502e5
Unverified
Commit
27f502e5
authored
Oct 04, 2018
by
Steven Allen
Committed by
GitHub
Oct 04, 2018
Browse files
Merge pull request #443 from libp2p/fix/log-spam
downgrade protocol mux failure log to debug
parents
394c6371
e7fc8861
Changes
1
Hide whitespace changes
Inline
Side-by-side
p2p/host/basic/basic_host.go
View file @
27f502e5
...
@@ -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
.
Info
f
(
"protocol mux failed: %s (took %s)"
,
err
,
took
)
log
.
Debug
f
(
"protocol mux failed: %s (took %s)"
,
err
,
took
)
}
}
s
.
Reset
()
s
.
Reset
()
return
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment