File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ func (gs *graphqlSubscription) Subscribe(
183183
184184 audit .AuditWebSockets (ctx , req )
185185 namespace := x .ExtractNamespaceHTTP (& http.Request {Header : reqHeader })
186- glog .V (2 ).Infof ("namespace: %d. Got GraphQL request over HTTP." , ns )
186+ glog .V (2 ).Infof ("namespace: %d. Got GraphQL request over HTTP." , namespace )
187187 // first load the schema, then do anything else
188188 if err := LazyLoadSchema (namespace ); err != nil {
189189 return nil , err
@@ -225,7 +225,7 @@ func (gh *graphqlHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
225225 defer span .End ()
226226
227227 ns , _ := strconv .ParseUint (r .Header .Get ("resolver" ), 10 , 64 )
228- glog .Infof ("namespace: %d. Got GraphQL request over HTTP." , ns )
228+ glog .V ( 2 ). Infof ("namespace: %d. Got GraphQL request over HTTP." , ns )
229229 if err := gh .isValid (ns ); err != nil {
230230 glog .Errorf ("namespace: %d. graphqlHandler not initialised: %s" , ns , err )
231231 WriteErrorResponse (w , r , errors .New (resolve .ErrInternal ))
You can’t perform that action at this time.
0 commit comments