# Logging meaningful information from GraphQL queries run via Explorer

**URL:** <https://community.apollographql.com/t/logging-meaningful-information-from-graphql-queries-run-via-explorer/7511>\
**Category:** Server\
**Tags:** server\
**Created:** [May 10, 2024, 7:48pm UTC](https://community.apollographql.com/t/logging-meaningful-information-from-graphql-queries-run-via-explorer/7511 "2024-05-10T19:48:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmacjamf](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/jmacjamf/32/5090_2.png) [@jmacjamf](https://community.apollographql.com/u/jmacjamf)\
**Post date:** [May 10, 2024, 7:48pm UTC](https://community.apollographql.com/t/logging-meaningful-information-from-graphql-queries-run-via-explorer/7511/1 "2024-05-10T19:48:19Z")

</div>

I am having trouble getting data from the API defined in my api datasource settings. Keep getting nulls on the data. I found an article for turning on logging, I did it, but it really makes a mess of the terminal logs. I am mainly interested in seeing if the query client is actually hitting my API(s).

This is what I had turned on, and it was a mess:

const myPlugin = {  
// Fires whenever a GraphQL request is received from a client.  
async requestDidStart(requestContext) {  
console.log(‘Request started! Query:\n’ + requestContext.request.query);

```
return {
  // Fires whenever Apollo Server will parse a GraphQL
  // request to create its associated document AST.
  async parsingDidStart(requestContext) {
    console.log('Parsing started!');
  },

  // Fires whenever Apollo Server will validate a
  // request's document AST against your GraphQL schema.
  async validationDidStart(requestContext) {
    console.log('Validation started!');
  },
};

```

},  
};
