3 ms·
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.
by sekh60 9y ago
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.
- db48x 9y agoI 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...
- kpcyrd 9y agoI 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 https://github.com/sirupsen/logrus/issues/531