From 97ea32e309598c15dfb7311af77d948b87d43232 Mon Sep 17 00:00:00 2001 From: IronGauntlets Date: Sun, 30 Jul 2023 16:28:42 +0100 Subject: [PATCH] Demote rpc request handling to debug level --- jsonrpc/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonrpc/server.go b/jsonrpc/server.go index 212cc9f6de..abe71bf2f1 100644 --- a/jsonrpc/server.go +++ b/jsonrpc/server.go @@ -261,10 +261,10 @@ func (s *Server) handleRequest(req *request) (*response, error) { start := time.Now() reqJSON, err := json.Marshal(req) if err == nil { - s.log.Infow("Serving RPC request", "request", string(reqJSON)) + s.log.Debugw("Serving RPC request", "request", string(reqJSON)) } defer func() { - s.log.Infow("Responding to RPC request", "method", req.Method, "id", req.ID, "took", time.Since(start)) + s.log.Debugw("Responding to RPC request", "method", req.Method, "id", req.ID, "took", time.Since(start)) }() if err = req.isSane(); err != nil {