Howto: update your LogWatch
It seems that Cpanel is not updating LogWatch automatically, so it was time to do it by hand. Just follow these easy steps and your all set.
1) Login to your server as root, go to root-folder:
cd /root
—————————————————-
2) Remove existing Logwatch by typing:
rpm -e logwatch
—————————————————-
3) Download latest stable logwatch (please note, later on you have to check for the latest version from LogWatch website, www2.logwatch.org)
wget ftp://ftp.kaybee.org/pub/redhat/RPMS/noarch/logwatch-7.3-1.noarch.rpm
—————————————————-
4) Install LogWatch with the following command:
rpm -i logwatch-7.3-1.noarch.rpm
—————————————————-
5) Edit the LogWatch configuration file:
nano -w /usr/share/logwatch/default.conf/logwatch.conf
A) Scroll down to:
MailTo = root
and replace root with your email address.
B) Scroll down:
Detail=Low
and replace Low to Medium or High.
Save and exit.
—————————————————-
6) You can test your new installation by running the following command:
./usr/share/logwatch/scripts/logwatch.pl –range today
Your all done!