Hacker News new | ask | show | jobs
by sofixa 334 days 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.

1 comments

Does logfmt allow nesting? I often inckude data structures like dicts/maps, arrays or complex objects in my JSON logs.