What CPAN module can summarize 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
6:43 UTC
Read the original article
Hit count: 342
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