neo4j / docs-graphql

GraphQL docs
5 stars 7 forks source link

Docs: Troubleshooting page: update logging filter from "execute" to "execution" in order to log Cypher queries #143

Closed Wenzel closed 4 months ago

Wenzel commented 4 months ago

Hi !

Just a little outdated docs at the Troubleshooting page:

It seems that in order to log Cypher queries, you need to pass @neo4j/graphql:execution and not @neo4j/graphql:execute as currently stated.

This works:

ENV DEBUG=@neo4j/graphql:execution
CMD ["npm", "run", "serve_from_build"]
api-1    | 2024-05-07T18:55:54.952Z @neo4j/graphql:execution Execute successful, received 1 records
api-1    | 2024-05-07T18:55:56.265Z @neo4j/graphql:execution executing cypher
neo4j-team-graphql commented 4 months ago

Many thanks for raising this bug report @Wenzel. :bug: We will now attempt to reproduce the bug based on the steps you have provided.

Please ensure that you've provided the necessary information for a minimal reproduction, including but not limited to:

If you have a support agreement with Neo4j, please link this GitHub issue to a new or existing Zendesk ticket.

Thanks again! :pray:

Liam-Doodson commented 4 months ago

Hi @Wenzel! I've moved this issue here as this is where we handle docs for @neo4j/graphql