4 ms·
Okay, so how do I disable journald and switch to something else, without getting rid of systemd completely?
by d3Xt3r 2mo ago
Okay, so how do I disable journald and switch to something else, without getting rid of systemd completely?
- marginalia_nu 2mo agohttps://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html https://www.freedesktop.org/software/systemd/man/latest/syst... See StandardOutput= and StandardError=.
- d3Xt3r 2mo ago> Oh no! Bad Request > Error: access denied: error in challenge meta-refresh: mismatched token God I hate the modern web. I get that anti-bot measures are necessary, but at what cost?
- marginalia_nu 2mo agoYou get the exact same information in $ man systemd.exec Though reading the question again, I should have probably linked to the equivalent of $ man systemd-system.conf as well, that's where you can set the default behavior across systemd, not per-service as the first man page is.
- pineapplepizza6 2mo ago[dead]
- deleted 2mo ago[deleted]
- CrimsonCape 2mo agoOk, so I should set these to null? I saw elsewhere someone set journald storage to volatile. Which of these approaches is better?
- vachina 2mo agoI just set the storage to volatile and the max log size to 10Mbytes and call it a day. Logs are really only useful at the tail.
- regularfry 2mo agoHaving the previous boot can get you out of a hole if you're dealing with dodgy drivers.
- pineapplepizza6 2mo agoSo change it back when you have a dodgy driver to deal with
- zh3 2mo agoOn Debian, install rsyslogd instead - it's that simple.
- sam_lowry_ 2mo agoPut the following in etc/systemd/journald.conf.d/discard.conf [Journal] Storage=none ForwardToSyslog=no ForwardToKMsg=no ForwardToConsole=no ForwardToWall=no Then restart with systemctl restart systemd-journald