Lars Wirzenius is a user on mastodon.acc.sunet.se. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

@liw do you have any advice for machine-parsable error messages?

(across programming language boundaries)

Lars Wirzenius @liw

@joeyh I'm currently doing json encoded as one physical line per message. See git.liw.fi/slog

@liw do you have some kind of unique id for an error?

@liw @joeyh i like one entry/line and first field as iso8601 timestamp, then I can use Unix tools for simpme stuff when I don't want to break out the json parser