diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 19ee4e7da..c57f19932 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -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: diff --git a/p2p/conn/connection.go b/p2p/conn/connection.go index 80fc53ddb..89282b00b 100644 --- a/p2p/conn/connection.go +++ b/p2p/conn/connection.go @@ -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 }