Re:Without Systemd
by sekh60 on Friday July 28, 2017 @03:56PM
(#14877033)
I have always been a fan of most of systemd. The only complaint I really have is the binary file logging. I feel that should be plain text.
[ Parent
| on HN ]
I think it would still have to be some kind of structured format (one json object per "line", for instance), so that it could keep all of the metadata. On the other hand, you can use journalctl --output=json to get exactly that, so...
I have a grief with plain text logs. They are really nice if you want to read them manually with vim or less, but are super painful if you want to parse them automatically.
It doesn't help much that a fair number of logging libraries have buggy formatting to an extend that you can't safely parse plain text log files sometimes.
For example this bug (mostly fixed by now) https://github.com/sirupsen/logrus/issues/531