Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
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.confto/etc/logwatch/conf/services/THE_SERVICE.confand change the copy. This will be preserved over logwatch updates. For example if you want to change the size of the mailbox it reportscp /usr/share/logwatch/default.conf/services/sendmail-largeboxes.conf /etc/logwatch/conf/servicesThen set:$sendmail_largeboxes_size = 400MBNo need to restart anything.
Add a commentSign in to add a comment