What CPAN module can summarize Perl error logs?
Posted
by mithaldu
on Stack Overflow
See other posts from Stack Overflow
or by mithaldu
Published on 2010-04-25T06:36:10Z
Indexed on
2010/04/25
15:33 UTC
Read the original article
Hit count: 294
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?
© Stack Overflow or respective owner