Graphql logger options not working
See original GitHub issueFollowing the docs for GraphQL logger does not produce the desired results. https://redwoodjs.com/docs/graphql#configure-the-graphql-logger
export const handler = createGraphQLHandler({
loggerConfig: {
logger,
options: {
tracing: false,
operationName: true,
query: false,
data: false,
},
},
However, the query
, data
, etc. still come through the logs. See repo example here: https://github.com/pi0neerpat/redwood-release-devops-example/blob/graphql-server-logger-troubleshooting/api/src/functions/graphql.js#L10
Issue Analytics
- State:
- Created a year ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Metrics and logging - Apollo GraphQL Docs
Sending metrics to GraphOS. Apollo GraphOS provides an integrated hub for all of your GraphQL performance data, which you can view in Apollo...
Read more >issue while logging graphql info object - Stack Overflow
There is no problem with doing npm start and doing console.log(), if I remove the info parameter everything works well.
Read more >Troubleshooting - Neo4j GraphQL Library
Debug Logging @neo4j/graphql:auth - Logs the status of authorization header and token extraction, and decoding of JWT. @neo4j/graphql:graphql - Logs the ...
Read more >Logging and Debugging – GraphQL Yoga
You can customize the log lovel by passing on of the 4 levels to the logging option:. We recommend not changing the default...
Read more >Debugging - WPGraphQL
From the WPGraphQL Settings page, check the box labeled “Enable GraphQL Query Logs”. Screenshot of the setting to enable GraphQL Query Logs. Query...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As part of the making rework, have confirmed that options are working as expected.
Ok thank you!