-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging Warnings/Errors and Debugging info #398
Comments
cc @kav |
current hold up on this is that we want to log the graphql queries at @imor any ideas of how to check that setting efficiently? |
Executing the following SQL once for each GraphQL query shouldn't add too much overhead: select setting from pg_settings
where name = 'log_statement'; |
I'd rather not do that if we can avoid it. for now I'll add debug level logging since that isn't impacted |
Is that because reading from |
yeah the concern was efficiency. adding to the context is a good idea, I'll check that out |
GraphQL queries are typically passed as arguments to a prepared statement and are not logged. Transpired SQL queries executed via SPI are similarly unlogged. That makes it difficult for users to debug their own queries
This issue is to add debug level logging for:
with a trace_id
We should also add logging at the warning or error level for things like like naming collisions
The text was updated successfully, but these errors were encountered: