On 2018-05-22 15:23, Per Jessen wrote:
Carlos E. R. wrote:
On 2018-05-22 13:52, Per Jessen wrote:
Carlos E. R. wrote:
By the way, I don't recommend using syslog-ng on an openSUSE system that has systemd and journal. The reason is that syslog-ng reads the journal files. If the journal is stopped or disabled, syslog does not work.
Correction: not stopping the journal daemon, but disabling it writing log files, temporary or permanent.
In the default config comes with openSUSE, the same applies rsyslog, Carlos.
No, it doesn't.
I did test it before I wrote my reply, if you stop journald, rsyslog and syslog-ng both stop logging.
I said: Correction: not stopping the journal daemon, but disabling it writing log files, temporary or permanent.
Anyway, if you don't want journald writing to disk, but you still want syslog working, use "storage=volatile" and "forwardtosyslog=yes" in /etc/systemd/journald.conf
I use storage=none, so syslog-ng fails to work here, but rsyslog works fine. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)