rpi_exporter icon indicating copy to clipboard operation
rpi_exporter copied to clipboard

Add json logging output format

Open josegonzalez opened this issue 3 years ago • 0 comments

Lots of tools are standardizing on json logging as it is easy to parse/ship/index. It would be great to add this in addition to the default logfmt format that is currently in use. A way to do it might be to detect a tty and automatically switch to json if none is detected, or add a flag/env var to control the format.

josegonzalez avatar Sep 26 '21 16:09 josegonzalez