diff --git a/node/cmd/guardiand/publicweb.go b/node/cmd/guardiand/publicweb.go index 3537332b0..1e3b6c750 100644 --- a/node/cmd/guardiand/publicweb.go +++ b/node/cmd/guardiand/publicweb.go @@ -75,6 +75,13 @@ func publicwebServiceRunnable( mux := http.NewServeMux() grpcWebServer := grpcweb.WrapServer(grpcServer) mux.Handle("/", allowCORSWrapper(http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) { + + logger.Info("public rpc request", + zap.String("method", req.Method), + zap.String("path", req.URL.Path), + zap.String("remote_addr", req.RemoteAddr), + zap.Any("headers", req.Header)) + if grpcWebServer.IsGrpcWebRequest(req) { grpcWebServer.ServeHTTP(resp, req) } else {