From b5f234ddef26a3bc4f6f057090dd60946068a262 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 13 Jan 2020 16:45:36 +0300 Subject: [PATCH] rpc: make rpc request logging at Debug level Makes no sense polluting logs with Info. It also affects benchmarking. --- pkg/rpc/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpc/server.go b/pkg/rpc/server.go index 83c46e52d..3bc5cd451 100644 --- a/pkg/rpc/server.go +++ b/pkg/rpc/server.go @@ -99,7 +99,7 @@ func (s *Server) requestHandler(w http.ResponseWriter, httpRequest *http.Request } func (s *Server) methodHandler(w http.ResponseWriter, req *Request, reqParams Params) { - s.log.Info("processing rpc request", + s.log.Debug("processing rpc request", zap.String("method", req.Method), zap.String("params", fmt.Sprintf("%v", reqParams)))