Another question: How do I reduce the verbosity of...
# prefect-community
g
Another question: How do I reduce the verbosity of server logs? Setting logging level doesn't work for that. I guess that's for the task loggers. I see a constant barrage of request logs even when nothing's running and the docker container keep growing
c
I believe most of those logs are generated from Hasura; unfortunately we don’t currently expose a way to toggle the log level of the Hasura container from the CLI but we could easily expose that as an option before our next release In the meantime you could: - clone Prefect from GitHub and install it in editable mode - edit the docker-compose file to include
HASURA_GRAPHQL_LOG_LEVEL: "warn"
here: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/cli/docker-compose.yml#L31
g
Yeah that would be great. And thanks for the workaround!
👍 1
c