This change introduces a new global flag --json-output which when provided generates logs in JSON format. This is very helpful especially when the logs are parsed. Datadog in our case. By default, all the logs generated by Topicctl are currently flagged as errors(see attached). I'm sure there are more use cases that would get benefitted by logs in json format.
This change introduces a new global flag
--json-output
which when provided generates logs in JSON format. This is very helpful especially when the logs are parsed. Datadog in our case. By default, all the logs generated by Topicctl are currently flagged as errors(see attached). I'm sure there are more use cases that would get benefitted by logs in json format.With Json logging enabled: