Files
ireddocker/iredmail/samples/rsyslog.d/1-iredmail-iredapd.conf
T
2020-07-31 12:45:56 +00:00

13 lines
463 B
Plaintext

# Log to /var/log/iredapd/iredapd.log
#
# Notes:
#
# - $syslogfacility-text must be same as value of parameter SYSLOG_FACILITY
# in iredapd config file. Defaults to 'local5' (defined in
# libs/default_settings.py).
#
# - Directory /var/log/iredapd/ must be owned by syslog daemon user/group.
#
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and ($syslogtag startswith 'iredapd' or $msg startswith 'iredapd') then -PH_IREDAPD_LOG_FILE
& stop