From a936cca0c82b2adf09bae25110c9a2b336402a4d Mon Sep 17 00:00:00 2001 From: Joe <85871158+Josumner@users.noreply.github.com> Date: Tue, 29 Jun 2021 15:53:36 +0100 Subject: [PATCH] fix: over-verbose ABCI query log (#18) --- rpc/core/abci.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpc/core/abci.go b/rpc/core/abci.go index d1edfdfd7..71d4ef0f8 100644 --- a/rpc/core/abci.go +++ b/rpc/core/abci.go @@ -26,7 +26,8 @@ func ABCIQuery( if err != nil { return nil, err } - env.Logger.Info("ABCIQuery", "path", path, "data", data, "result", resQuery) + env.Logger.Info("ABCIQuery", "path", path, "dataLength", len(data.Bytes()), "resultLength", len(resQuery.String())) + env.Logger.Debug("ABCIQuery", "path", path, "result", resQuery, "data", data) return &ctypes.ResultABCIQuery{Response: *resQuery}, nil }