How to Install Logwatch on CentOS 6

Logwatch is a Perl-based log management tool for analyzing, summarizing, and reporting on a server’s log files. It is most often used to send a short digest of server’s log activity to a system administrator.


What are log files? Logs are application-generated files useful for tracking down and understanding what has happened in the past.

Step 1: Install Logwatch

As a matter of best practice we’ll update our packages:

yum -y update


Then let’s install Logwatch and any required packages:

yum install -y logwatch


Step 2: Configuration File Locations


Local Configuration Options can be found in:

/etc/logwatch/conf/logwatch.conf


Default Configuration Options can be found in:

/usr/share/logwatch/default.conf/logwatch.conf


It is best practice to leave the Default Configuration as is, and edit the Local Configuration option, which is under /etc as listed above.

  • 51 Users Found This Useful
Was this answer helpful?

Related Articles

How To Install Varnish 4 on CentOS 7

Varnish is a proxy and cache, or HTTP accelerator, designed to improve performance for busy,...

Update and Patch OpenSSL on CentOS for the CCS Injection Vulnerability

What is OpenSSL? OpenSSL is a common cryptographic library which provides encryption,...

How to Display (List) All Jobs in Cron / Crontab

Servers can automatically perform tasks that you would otherwise have to perform yourself, such...

How to Upgrade MySQL 5.1 to MariaDB 10.0 on CentOS 6

Step #1: Upgrade from MySQL 5.1 to MariaDB 5.5 The proper upgrade path from MySQL 5.1 to MariaDB...

How To Install Docker on CentOS 6

Introduction Docker is a container-based software framework for automating deployment of...

Powered by WHMCompleteSolution