temporal
temporal copied to clipboard
Make temporal docker to not emit noisy logs
Currently temporal docker emits a lot of logs with 99.9% of them being useless. It also doesn't have clear indication when the service is ready serve requests. My proposal is to emit something like:
Temporal Service Starting...
Temporal Service Started
and then emit only fatal errors. For troubleshooting provide an option to enable logs.
I personally feel this pain when using Temporal as a non-advanced user. Especially when running Temporal via docker-compose, it's very difficult to discern meaningful information. It seemed that Cassandra might be a big culprit.
This seems to be still valid for temporalite. temporal start server-dev
debug logs JSON to the console by default.
It would be good if debug log is opt-in instead of default. Also, it should default to a human-friendly format, and to a machine-friendly format on opt-in. It's hard on the eyes to parse screen filling JSON messages in real time...