3 ms·
> log as JSON objects instead of lines of text Or logfmt which is easier to read for humans, lower overhead, and is still structured and supported in at least
by sofixa 1y ago
> log as JSON objects instead of lines of text
Or logfmt which is easier to read for humans, lower overhead, and is still structured and supported in at least Grafana/Loki for parsing and queries.
- haiku2077 1y agoDoes logfmt allow nesting? I often inckude data structures like dicts/maps, arrays or complex objects in my JSON logs.