Perldoc documentation: pod2html logtrawl
This is a simple log file analysis script that uses perl compatible regular expressions to match log statements into one of two categories: alerts or statements to ignore. Any line that matches an alert expression is repeated at the top of the output. Any line that matches an ignore expression is suppressed in the output. Any line that matches neither an alert or ignore statement is repeated in the output in an "unmatched" section.
Typical use is to run this out of cron every night on the previous day's log files and mail the output to the administrator.
The script requires the following perl modules for operation: