Skip to content

Commit

Permalink
fix: over-verbose ABCI query log (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josumner authored Jun 29, 2021
1 parent bd8f38d commit a936cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpc/core/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a936cca

Please sign in to comment.