Mailinglist Archive: opensuse-factory (437 mails)

< Previous Next >
Re: [opensuse-factory] systemd-219 vs. rsyslog: Where do mail* events get logged now?
On 04/01/2015 06:25 PM, Manfred Hollstein wrote:
On Wed, 01 Apr 2015, 17:56:32 +0200, Manfred Hollstein wrote:
Hi there,

after upgrading to several new stuff (including systemd-219) I now
realized that there are no messages logged to the /var/log/mail* files.
I use rsyslogd as my system logger and I don't have a persistent
journal. Up until systemd-210 sending an e-mail using postfix got logged
in /var/log/mail, similar to every received e-mail pulled in via
fetchmail, but right now the log file doesn't show any activity.

Does someone of our systemd experts know which knob to tweak to get
the old behaviour?
just switched to syslog-ng and nothing changed. Also, only audit
messages reach /var/log/messages, any other messages normally shown in
/var/log/messages don't hit any file.
From somewhere around systemd-212 (or a bit later, I don't remember any more) forwarding to syslog is turned off by default in journald. You can turn it back again in /etc/systemd/journald.conf by taking the following variable out of comment and setting to yes:
Or you can install syslog-ng 3.6 from my home repo, which reads logs directly from the journal:
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >