From 0385e17ffe7ce7aa236aab031ee0289486b1fca8 Mon Sep 17 00:00:00 2001 From: Matthew McNeely Date: Wed, 25 Feb 2026 18:20:10 -0500 Subject: [PATCH 1/2] suppress receipt of graphql request to logging level 2 --- graphql/admin/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql/admin/http.go b/graphql/admin/http.go index de90acc26eb..6bb7d7df095 100644 --- a/graphql/admin/http.go +++ b/graphql/admin/http.go @@ -183,7 +183,7 @@ func (gs *graphqlSubscription) Subscribe( audit.AuditWebSockets(ctx, req) namespace := x.ExtractNamespaceHTTP(&http.Request{Header: reqHeader}) - glog.Infof("namespace: %d. Got GraphQL request over websocket.", namespace) + glog.V(2).Infof("namespace: %d. Got GraphQL request over HTTP.", ns) // first load the schema, then do anything else if err := LazyLoadSchema(namespace); err != nil { return nil, err From b1a9ec969621b878785bfab349ab6f20f215f51a Mon Sep 17 00:00:00 2001 From: Matthew McNeely Date: Wed, 25 Feb 2026 19:31:50 -0500 Subject: [PATCH 2/2] Fix error --- graphql/admin/http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphql/admin/http.go b/graphql/admin/http.go index 6bb7d7df095..707f939c059 100644 --- a/graphql/admin/http.go +++ b/graphql/admin/http.go @@ -183,7 +183,7 @@ func (gs *graphqlSubscription) Subscribe( audit.AuditWebSockets(ctx, req) namespace := x.ExtractNamespaceHTTP(&http.Request{Header: reqHeader}) - glog.V(2).Infof("namespace: %d. Got GraphQL request over HTTP.", ns) + glog.V(2).Infof("namespace: %d. Got GraphQL request over HTTP.", namespace) // first load the schema, then do anything else if err := LazyLoadSchema(namespace); err != nil { return nil, err @@ -225,7 +225,7 @@ func (gh *graphqlHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { defer span.End() ns, _ := strconv.ParseUint(r.Header.Get("resolver"), 10, 64) - glog.Infof("namespace: %d. Got GraphQL request over HTTP.", ns) + glog.V(2).Infof("namespace: %d. Got GraphQL request over HTTP.", ns) if err := gh.isValid(ns); err != nil { glog.Errorf("namespace: %d. graphqlHandler not initialised: %s", ns, err) WriteErrorResponse(w, r, errors.New(resolve.ErrInternal))