Graphql-engine: Verbose logging

Created on 21 Sep 2018  路  5Comments  路  Source: hasura/graphql-engine

via @praveenweb:

"we should enable verbose logging mode (via flag/env), where instead of just the query_hash, we get the actual query for better debugging".

server enhancement medium

Most helpful comment

I would like to point out that verbose logging is important for subscriptions as well. At the moment performance values are logged only for queries.

All 5 comments

I would also like to see this feature for audit purposes. Logging queries and response times will enable analysis and reporting to aid detection of attacks and broken clients.

In the event of a security breach, query logging will be needed to see which data the attacker accessed.

from Prashantha on Discord - additional info needed: the PG tables/columns being accessed

Let's also add some numbers from #428 (which I am closing in favor of this one)

I would like to point out that verbose logging is important for subscriptions as well. At the moment performance values are logged only for queries.

Any chance verbose logging could also spit out whether Hasura thinks you've configured it to use JWTs? Just had an issue where the HASURA_GRAPHQL_JWT_SECRET wasn't being set the right way because Windows.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bogdansoare picture bogdansoare  路  3Comments

leoalves picture leoalves  路  3Comments

sachaarbonel picture sachaarbonel  路  3Comments

anisjonischkeit picture anisjonischkeit  路  3Comments

jjangga0214 picture jjangga0214  路  3Comments