thorko . de
Linux / Unix systems administrator
Logwatch 7.4.0 Howto
Download logwatch and extract it.
The default configuration is in etc/conf/logwatch.conf
# log directory on your server usually /var/log
LogDir = /var/log
# output format can be html, text
Format = html
# the destination mail address
MailTo = root
# the source mail address ex: logwatch@domain.com
MailFrom = logwatch@domain.com
# use also archives such as .1, .gz files
Archive = No
# time range to analyze logs for
Range = Today
Detail = High
Service = All
Service = "-zz-network"
Service = "-sudo"
Service = "-clamav"
The ignore.conf file contains regular expressions which will be skipped when parsing log files
In the services directory you can specify per log file settings. For example create a dovecot.conf file
Title = "Dovecot"
Logfile = dovecot
*OnlyService = (imap-login|dovecot)
In the logfiles directory you can specify log files which don't reside in the default location.
Logwatch doesn't work perfectly with dovecot because of the log format. I've created a patch which works with dovecot 2.0.15.
2011-12-21 8:14 pm
![]() | Info Logwatch on sourceforge.net |
![]() | Download Zabbix Agent 1.8.10 - amd64 deb file Zabbix Server MySQL 1.8.10 - amd64 deb file Zabbix Frontend 1.8.10 - amd64 deb file Firefox 9.0.1 - x86_64 Thunderbird 9.0 - x86_64 LSI Util - manage LSI raid controller Nictool 2.0.8 Cisco VPN Client 4.9.01 for Mac |
![]() | Goodies Varnishd - Highly scalable web caching server CFengine - Configuration and installation automation of enterprise environments Open Benno - Another open source mail archive system (License: GPL). Lucene search engine, no database needed, mails stored in a directory structure |



