[Dovecot] disable auth-worker logging

e-frog e-frog at gmx.de
Sat Aug 4 16:45:51 EEST 2012


On 04.08.2012 15:05, wrote Gmail-teopro:
> Hello all,
>
> Can someone please give me a hint about how can I disable such messages to
> be inserted into log file(maillog this case as syslog_facility = mail)?
>
>>> dovecot: auth-worker(13377): mysql(localhost): Connected to database postfix
>
> All the '_debug' and '_verbose' statements bear the 'no' value.
>
> Thank you.
>

Hello,

I don't think this message can be disabled in dovecot. You can however 
configure your syslog daemon to ignore the message.

The following works for me using rsyslog:

$: cat /etc/rsyslog.d/40-dovecot.conf
:msg, contains, "mysql(localhost): Connected to database"  ~

--
e-frog



More information about the dovecot mailing list