Massive logs from Hasura v2.13.0 #9129
-
We just upgraded our Hasura from older v1.3.2 to v2.13.0. The upgrades went well however we discover some massive logs that appear almost every 1 to 5 seconds that says something like this:
We couldn't figure out if these are health check logs as they seem to be different to what has been documented here: https://hasura.io/docs/latest/deployment/logging/#health-check-log-structure We would like to know what logs are these and how do we adjust the interval or even disable them totally as they are killing out logs quota! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Are you using self-hosted version of Hasura or Hasura Cloud ? Seeing those records, those logs are health check logs. We can see that pattern of logs pointing to |
Beta Was this translation helpful? Give feedback.
-
The By default, Hasura sets the logging level to
To change the One can also configure the types of logs that are to be displayed using the Quick Summary
|
Beta Was this translation helpful? Give feedback.
The
healthz
endpoint is an internal log, with the log level beinginfo
for healthy instance andwarn
for unhealthy instances.By default, Hasura sets the logging level to
info
and to reduce the number of logs being captured, one can always set thelog-level = warn
to display only the logs of levels from and abovewarn
, which also includeserror
.To change the
log-level
, use the ENV variableHASURA_GRAPHQL_LOG_LEVEL = warn
. For more info on the log level, refer this documentationOne can also configure the types of logs that are to be disp…