On Thu, 17 Nov 2016 15:50:24 +0100
Franta Hanzlík wrote:
Nobody knows how to get rid of those unnecessary journald binary
I can't get rid of journald, but I can reduce it to nothing more than
a proxy, relaying data to rsyslog, which then writes logs in readable text
as God intended them:
1. Make sure you install rsyslog if it isn't already.
2. Edit /etc/systemd/journald.conf and set these parameters:
3. Edit /etc/rsyslog.conf and make sure
is *not* commented out.
4. Generate the /etc/rsyslog.d/listen.conf file with
5. Generate the /etc/rsyslog.d/sd-socket.conf file with
Might as well reboot at this point. You get no more binary
logs, and everything gets forwarded to syslog.
Aside from the added bonus of readable logs, you no longer
get infinite boot loops caused by corrupt binary logs :-).