I'm maintaining some website code that will soon dump all its errors and warnings into a log file. In order to make this a bit more pro-active I plan to parse this log file daily, summarize the warnings and errors (i.e. count the occurrence of each specific one and group by either warning/error) and then email this to the devs on the project.
This would likely admittedly be rather trivial with a hash and some further fiddling, I wondered if there is a suitable module on CPAN that I could use to do this task.
It would either be one that summarizes specifically Perl error/warnings logs or one that summarizes arbitrary text files. Any suggestions?
Edit:
The site I'm maintaining was inherited in a state where it generates 50MB of warnings per day. I'm ONLY looking for a bandaid i can apply to point out the most prolific ones. Log4Perl can come in once I run out of critical stuff to fix, however right now it's not an option.