Disable Anvil Logs

Okay, it doesn't actually disable the logs, it just moves them out of the mail.log fileā€¦ as described here.

echo "# extract then discard stats from anvil daemon" > /etc/rsyslog.d/maillog-stats.conf
echo ":msg, contains, "statistics: max" /var/log/maillog-stats" >> /etc/rsyslog.d/maillog-stats.conf
echo ":msg, contains, "statistics: max" stop" >> /etc/rsyslog.d/maillog-stats.conf
service rsyslog restart
tips/disable_anvil_logs.txt · Last modified: 2024-10-30 17:14 by snork
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki