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.

  • 40 Users Found This Useful
Was this answer helpful?

Related Articles

Backup Your WordPress Database with WP-CLI

In this article you will learn how to backup your WordPress database using the wp-cli tool....

How to Install MongoDB on Ubuntu 14.04 LTS

MongoDB is a NoSQL database intended for storing large amounts of data in document-oriented...

Safe Passwords

Your server is only as secure as your weakest password. As a rule of thumb, the more complex a...

How to Install WP-CLI

WP-CLI is a command line tool for interacting with and managing WordPress sites. WP-CLI is very...

How to Install and Configure phpMyAdmin on Ubuntu 14.04

phpMyAdmin is an open source tool used for the administration of MySQL. In addition to offering...

Powered by WHMCompleteSolution