Logwatch is a customizable log analysis system. It parses through your system’s logs for a given period of time and creates a report analyzing areas that you specify, in as much detail as you require. Logwatch is already installed on most CPanel servers.
To modify LogWatch, SSH into server and login as root.
1. vi /etc/log.d/conf/logwatch.conf
Scroll down to
MailTo = root
and change to
Mailto = firstname.lastname@example.org
Note: Set the e-mail address to an offsite account incase you get hacked.
Now scroll down to
Detail = Low
Change that to Medium, or High…
Detail = 5 or Detail = 10
Note: "High" value will give you more detailed logs with all actions.
Save and exit.
Ideal place for discussions related to Linux/Windows server security, Apache, MySQL, MS SQL and PHP, including tutorials and questions.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest