[systemd-devel] right way to log to rsyslog/syslog only?

Lennart Poettering lennart at poettering.net
Wed Aug 13 09:34:05 PDT 2014


On Thu, 07.08.14 14:34, Jon Stanley (jonstanley at gmail.com) wrote:

> 
> On Thu, Aug 7, 2014 at 2:06 PM, Frantisek Hanzlik <franta at hanzlici.cz> wrote:
> > It's good that I have no /var/log/journal/* files, but
> > - journald is still runnig (this isn't too imporatant, but when it
> >    is possible work without it, it will be better)
> 
> Why do you want this? As Johann very tersely replied, it's not
> possible for a systemd-based system not to use the  journal. There is
> nothing that says that the journal needs to be persistent as you found
> (however you'll be eating up RAM with the journal if it's not backed
> by disk - I'm not 100% sure what happens if there is a backing store,
> i.e. does it still store in memory?)

tmpfs is swappable memory, hence gets swapped out when not used. Note
that the journal enforces size limits based on the nominal size of the
tmpfs though. See man page for details.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list