News for hackers. Stuff that matters.
Re:The Art of Logging by systemvoltage on Wednesday October 05, 2022 @09:37PM (#33103326)
Stick with JSON. Just slightly less readable than logfmt but highly ubiquitous adaptation and parsing capabilities.

logfmt might be fine for people at Stripe who've built infra around it, but for mortals, stick with JSON so you can send data around.

When you have a million log lines, the question "Did it parse correctly?" shouldn't need to be asked because checking correctness is a huge problem.

There are no comments on this comment yet.