[Dovecot] Reduce logging auth-worker

Reindl Harald h.reindl at thelounge.net
Sat Mar 23 03:34:22 EET 2013



Am 23.03.2013 02:31, schrieb Nick Edwards:
> Hello Timo
> 
> We would like to reduce the logging by increasing severity, we don't
> use syslog since we use
> 
> log_path = /var/log/dovecot/pop3.log

why?

> Is there a way auth-worker can be made to log  warn|error   instead of info?
> 
> Constantly 1/5th of the log file is filled with auth-work info
> connecting to mysql socket, which we do not need to see unless, well,
> we need to see it either via debug, or if there is a problem, I know
> this can be done from syslog, but we prefer not to use syslog, and the
> wiki does not indicate it can be done?

but that is exactly why syslog exists instead re-invent the wheel

[root at mail:~]$ cat /etc/rsyslog.conf | grep database
:msg, contains, "Connected to database dbmail" ~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130323/82e95cd2/attachment.bin>


More information about the dovecot mailing list