Download logwatch (log analyser with nice output written in Perl) from following url
http://sourceforge.net/projects/sentrytools/
It allows you to watch (monitor) logs.
Installation
Debian Linux type the following command::
Code:
apt-get install logwatch
Fedora Linux type the following command:
Code:
yum install logwatch
RedHat Enterprise Linux type the following command::
To customize logwatch go to /usr/share/doc/logwatch-*/ directory and read the file HOWTO-Customize-LogWatch
Or Open logwatch.conf file:
Code:
vi /etc/logwatch/conf/logwatch.conf
OR
Code:
vi /usr/share/logwatch/default.conf/logwatch.conf
Read man page of logwatch for more information.