Hacker News new | ask | show | jobs
by exabrial 1285 days ago
> Job output will automatically be written to systemd-journald

This is a bad thing, not something I’d boast about.

I actually really enjoy using systemd. Being able to start a process with complete isolation without heavyweight docker downloading mystery meat off the internet is a huge boon.

However, one thing systemd is logging. Jounalctl sucks. Grep, cat, etc, work infinitesimally better.

2 comments

'Infinitesimally' means 'by a negligible amount'. Which is (accidentally) accurate. There's nothing preventing you from using grep, cat, etc. with the output of journalctl. It's just a tool in the pipeline.
You can redirect all your logs to traditional string-based ones if you want though.
Precisely. That's exactly what we end up doing