[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Why systemd vs sysvinit really doesn't matter to me



On Sat, Feb 17, 2018 at 05:31:47PM -0500, James Taylor via Ale wrote:
> On my distro I can still install syslog-ng and disable the journald stuff.
> I'll have to figure it out eventually, but not yet.

Once you have a traditional syslog daemon installed and running, 
forwarding journald's output to syslog is as simple as adding this line 
to /etc/systemd/journald.conf:

ForwardToSyslog=yes

Then you can add one of these:

Storage=volatile # keeps a small in-memory log buffer
Storage=none  # disables all log retention, forwarding only.

BTW, with journald forward to syslog you get the best of all worlds -- 
systemd+journald captures *everything* a process emits (ie 
stdout/stderr) instead only what was explicitly sent to syslog.  IME 
that feature has proven itself to be invaluable.

 - Solomon
-- 
Solomon Peachy			       pizza at shaftnet dot org
Coconut Creek, FL                          ^^ (email/xmpp) ^^
Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://mail.ale.org/pipermail/ale/attachments/20180217/953823bb/attachment.sig>