From 5755e1a1176413af3bd56e8e30451551a173f3f2 Mon Sep 17 00:00:00 2001 From: tnasu Date: Wed, 19 Jan 2022 16:09:33 +0900 Subject: [PATCH] internal/consensus: update error log (#6863) (#6867) Issues reported in Osmosis, where the message is extremely long. Also, there is absolutely no reason to log the message IMO. If we must, we can make the message log DEBUG. (cherry picked from commit 58a6cfff9a3e370e1bb5eabfd86091e0b1186a22) Co-authored-by: Aleksandr Bezobchuk --- consensus/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/state.go b/consensus/state.go index a0b862806..0bcc8bb41 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -916,8 +916,8 @@ func (cs *State) handleMsg(mi msgInfo) { "height", cs.Height, "round", cs.Round, "peer", peerID, + "msg_type", fmt.Sprintf("%T", msg), "err", err, - "msg", msg, ) } }