Date: 2015jul15
OS: Linux
Product: logwatch
Q. How can I change what logwatch reports?
A.
Copy the file you want to change from
/usr/share/logwatch/default.conf/services/THE_SERVICE.conf
to
/etc/logwatch/conf/services/THE_SERVICE.conf
and change the copy. This will be preserved over logwatch updates.
For example if you want to change the size of the mailbox it reports
cp /usr/share/logwatch/default.conf/services/sendmail-largeboxes.conf /etc/logwatch/conf/services
Then set:
$sendmail_largeboxes_size = 400MB
No need to restart anything.