Carlos E. R. wrote:
El 2016-09-07 a las 10:38 -0400, Michael Fischer escribió:
On Wed, Sep 07, Andrei Borzenkov wrote:
If the host is running under systemd, syslog-ng OSE reads directly from the systemd journal file using the systemd-journal() source.--
Aha. That was the pointer I was looking for. Interestingly, this seems to happen "under the hood": the strings "systemd" and "journal" appear nowhere under /etc/syslog-ng nor in /etc/sysconfig/syslog.
At this point I'm going to make a note not to disable systemd-journald, nor to set its Storage=none, and leave it like Per said: "just works".
I think you should limit the size, because it uses tmpfs to store the temporary journal.
I have never had a need to do that, in fact I've never even considered it :-). According to the stats: Leap422 on a 1Gb xen guest: Sep 04 18:08:44 linux systemd-journald[281]: Runtime journal (/run/log/journal/) is currently using 6.1M. Maximum allowed usage is set to 49.4M. Leaving at least 74.1M free (of currently available 487.8M of space).... Leap422 on a 4Gb desktop: Sep 07 09:08:29 linux systemd-journald[385]: Runtime journal (/run/log/journal/) is currently using 8.0M. Maximum allowed usage is set to 182.8M. Leaving at least 274.2M free (of currently available 1.7G of space).... I assume the "Maximum allowed usage" is correct. -- Per Jessen, Zürich (15.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org