Bug#988304: exim4: rsyslog log files not getting any new info
Hi, ametz...@bebt.de (2021-05-10 at 1938.37 +0200): > what log_file_path setting are you using? I am aware that > log_file_path = :syslog > does not duplicate the entries to syslog but only logs to /var/log/exim4 > (See https://bugs.exim.org/show_bug.cgi?id=2733#c5 and later.) Same config. To be exact, these are the config lines about syslog, which have worked for years (log msgs once to syslog without time as it will be added by logger and log to own files+syslog): ---8<--- syslog_duplication = false syslog_timestamp = false log_file_path = :syslog --->8--- I just checked the documentation at exim.org and it seems their purpose has not changed. I see in the bugreport that explicit "/var/log/exim4/%slog : syslog" works, but not ":syslog". So Debian 988304 is upstream 2733#c3. Are we sure exim4 contacts rsyslog at all? Got the source, and all those "else" & "if" without {} in src/log.c write_syslog() make me doubt the compiler and humans agree what the source means. Cheers, GSR
Bug#988304: exim4: rsyslog log files not getting any new info
On 2021-05-10 GSR wrote: > Package: exim4 > Version: 4.94.2-2 > Severity: normal > After updating from 4.94.2-1 any info stopped appearing in rsyslog > (8.2102.0-2) files like /var/log/mail.log. Mail can be sent and > received, and /var/log/exim4/mainlog gets new lines. So it seems to be > something about talking with syslog. Hello, what log_file_path setting are you using? I am aware that log_file_path = :syslog does not duplicate the entries to syslog but only logs to /var/log/exim4 (See https://bugs.exim.org/show_bug.cgi?id=2733#c5 and later.) cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
Bug#988304: exim4: rsyslog log files not getting any new info
Package: exim4 Version: 4.94.2-2 Severity: normal After updating from 4.94.2-1 any info stopped appearing in rsyslog (8.2102.0-2) files like /var/log/mail.log. Mail can be sent and received, and /var/log/exim4/mainlog gets new lines. So it seems to be something about talking with syslog. Cheers, GSR -- System Information: Debian Release: 11.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages exim4 depends on: ii debconf [debconf-2.0] 1.5.76 ii exim4-base 4.94.2-2 ii exim4-daemon-light 4.94.2-2 exim4 recommends no packages. exim4 suggests no packages.