7311: Reduce logging in JsonRpcExecutor to trace level

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
pull/7638/head
Matilda Clerke 2 months ago
parent 1c25ac5337
commit 2e6dfd992e
  1. 4
      ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/execution/JsonRpcExecutor.java

@ -104,9 +104,9 @@ public class JsonRpcExecutor {
private Optional<RpcErrorType> validateMethodAvailability(final JsonRpcRequest request) {
final String name = request.getMethod();
if (LOG.isDebugEnabled()) {
if (LOG.isTraceEnabled()) {
final JsonArray params = JsonObject.mapFrom(request).getJsonArray("params");
LOG.debug("JSON-RPC request -> {} {}", name, params);
LOG.trace("JSON-RPC request -> {} {}", name, params);
}
final JsonRpcMethod method = rpcMethods.get(name);

Loading…
Cancel
Save