mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
p2p: log 'Send failed' on Debug (#2857)
This commit is contained in:
parent
85bba82154
commit
d8ab8509de
@ -26,11 +26,14 @@ program](https://hackerone.com/tendermint).
|
||||
|
||||
|
||||
### FEATURES:
|
||||
- [log] new `log_format` config option, which can be set to 'plain' for colored
|
||||
|
||||
- [log] \#2843 New `log_format` config option, which can be set to 'plain' for colored
|
||||
text or 'json' for JSON output
|
||||
|
||||
- [types] \#2767 New event types EventDataNewRound (with ProposerInfo) and EventDataCompleteProposal (with BlockID). (@kevlubkcm)
|
||||
|
||||
### IMPROVEMENTS:
|
||||
|
||||
- [p2p] \#2857 "Send failed" is logged at debug level instead of error.
|
||||
|
||||
### BUG FIXES:
|
||||
|
@ -269,7 +269,7 @@ func (c *MConnection) Send(chID byte, msgBytes []byte) bool {
|
||||
default:
|
||||
}
|
||||
} else {
|
||||
c.Logger.Error("Send failed", "channel", chID, "conn", c, "msgBytes", fmt.Sprintf("%X", msgBytes))
|
||||
c.Logger.Debug("Send failed", "channel", chID, "conn", c, "msgBytes", fmt.Sprintf("%X", msgBytes))
|
||||
}
|
||||
return success
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user