Open zxcvqwerasdf opened 3 years ago
To stop logging INFO entries you’ll have to take a look at rsyslog: /etc/rsyslog.d/50-default.conf
Unfortunately I’m not sure about the exact config to use :frowning: You can start by replacing
mail.* -/var/log/mail.log
with
mail.notice -/var/log/mail.log
which should only log entries of level notice and higher (warn, error etc). However, I have not tested this, and I don’t know if there are any side effects to this, e.g. some log analysis that will fail because of this, or missed log entries.
In the future, you might want to ask your question on discourse or slack. You might get better response there, as the github issue tracker is for reporting bugs and errors.
So i got it working only by setting info_log_path = /dev/null in /etc/dovecot/conf.d/10-logging.conf Any other settings (50-default.conf) don't work.
Hello, i can't turn off mail info logs like this:
I set
in /etc/dovecot/conf.d/10-logging.conf but didn't help
Any advice? Thank you.