Comments on How to monitor server log files with Logwatch on Debian and Ubuntu

Logwatch is a system log analyzer and reporter. This tutorial covers the installation of Logwtach and explains various config options incl. reporting of notable log events by email.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Kettu

I've understood that you should copy that configuration file under /etc and do the changes there in order to save those when the package  is upgraded. 

By: Tomas

Just my 2 cents, the configuration file at /usr/share/logwatch/default.conf/logwatch.conf contains all the default settings and comments on what they do. It is recommended to leave the default conf alone and instead re-define a setting variable you want to change in /etc/logwatch/conf/logwatch.conf. 

By: SamGG

On Mint/Debian, the default configuration is overridden by /usr/share/logwatch/dist.conf/logwatch.conf. I also recommend to define the running configuration as /etc/logwatch/conf/logwatch.conf and to redefine any useful variables.