tags:

views:

277

answers:

3

Does anyone know of a tool to analyze php error logs? I have a bunch of error logs from a number of different servers. I'd like to get the most frequent errors broken down by severity (fatal, warning, etc.), scripts that generate the most errors, etc.

I could write some shell scripts to do this, but if there are any decent tools already about it'd be cool.

+1  A: 

If you are running apache there is a free tool available on sourceforge to analyze the log files it produces... http://sourceforge.net/projects/phploganalyze/

adam
Saw this, but it's at version .3 with no development since 2003. Was hoping that there might be something out there that's actively developed
J.D. Fitz.Gerald
I doubt the format of apache error logs have changed considerably over time. If the tool does the job, it doesn't need to be developed!
adam
A: 

This tool is pretty nice -- set it up on our servers in < 10min. Lets you do regex based filtering.

http://spudly.shuoink.com/2008/02/17/php-error-log-parser/

Stephen J. Fuhry
A: 

I'm using zend server for that and it's fine Zend ce

mnml