Bits and thoughts

#!/bin/bash is not rude

Have a watch on your logs

Written by ⓘⓓⓔⓝⓣⓛⓤⓓ - -

Want to know what happened on your server ? Logwatch is for you.It sums up and aggregates some information from your log files and you can have it sent by email to you.

Context and installation

The server I'm running is a Debian Wheezy.
apt-get install logwatch
I wanted it to send an email to a specific local user and I wanted the email to contains as much detail as possible. I wrote to etc/logwatch/conf/override.conf
# cat >/etc/logwatch/conf/override.conf <<EOF
logwatch: MailTo =
logwatch: Output = mail
logwatch: Detail = high

The result is an email sent with every important details.

Comments are closed.