split auth from other logging

admin at awib.it admin at awib.it
Wed Sep 26 14:12:54 EEST 2018


# Logging for the mail system.  Split it up so that
# it is easy to write scripts to parse these files.
#
mail.info                       -/var/log/mail.info
mail.warn                       -/var/log/mail.warn
mail.err                        /var/log/mail.err

> Am 26.09.2018 um 12:43 schrieb Kai Schaetzl <maillists at conactive.com>:
> 
> I hoped I don't have to switch to syslog logging. Well, anyway.
> 
> I changed 
> 10-logging.conf:
> syslog_facility = uucp
> and commented out the other log lines.
> 
> rsyslog.d/50-default.conf:
> uucp.debug                      -/var/log/dovecot/debug.log
> uucp.info                       -/var/log/dovecot/dovecot.log
> uucp.warn                       -/var/log/dovecot/warn.log
> uucp.err                        -/var/log/dovecot/error.log
> uucp.crit                       -/var/log/warn.log
> 
> No fancy redirects with rsyslog yet, plain logging by facility and level.
> 
> But it logs only to /var/log/syslog. As if dovecot sets another facility.
> I've used uucp in the past with success (not with rsyslog, but with 
> syslog). AFAIK, uucp still exists as a facility in rsyslog.
> Shouldn't the above work?
> 
> (Yes, I restarted both daemons.)
> 
> Kai
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180926/ea5f36c3/attachment-0001.html>


More information about the dovecot mailing list