[Dovecot] Syslog, Dovecot, and LogWatch
Chris Wakelin
c.d.wakelin at reading.ac.uk
Mon Apr 11 19:42:31 EEST 2005
On Mon, 11 Apr 2005 10:44:04 -0400 Rich West <Rich.West at wesmo.com>
wrote:
> At what level does Dovecot log to syslog? UW-IMAP uses local6.debug to
> log to syslog, but it doesn't seem that dovecot does the same.. (the
> file I defined for UW-IMAP's output hasn't received anything since I
> moved over to Dovecot?
It looks like it's hard-coded to use "LOG_MAIL" facility and various
levels. You could probably modify it to use a LOG_LOCAL<X> facility -
see the "i_set_failure_syslog()" call in
src/[master, auth, imap, pop3]/main.c
You can also opt not to use syslog at all, see dovecot-example.conf
"log_path =" for how to specify log files.
Hope this helps,
Chris
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+--
Christopher Wakelin, c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
More information about the dovecot
mailing list