Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions graphql/admin/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.", namespace)
// first load the schema, then do anything else
if err := LazyLoadSchema(namespace); err != nil {
return nil, err
Expand Down Expand Up @@ -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))
Expand Down
Loading