[Dovecot] disable auth-worker logging

e-frog
Sat, 04 Aug 2012 13:45:51 -0000

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