PHP error log analysis

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello everyone!

I'm logging all my php errors to a log file. Does anyone know of a program I  
could use to analyze this file and email me the results? I'd like the report  
to contain the most common errors and the number of times they occurred  
during the report period.

I've thought about using awstats for this purpose, but I'm not sure if it'll  
do the job. Is there anything that would do this out of the box on Linux?

Also, is there a way to have PHP automatically email me when a fatal error  

Any advice would be appreciated.


Re: PHP error log analysis

Balazs Wellisch wrote:
Quoted text here. Click to load it

Using set_error_handler() you can do whatever you like.  Take a look:


Re: PHP error log analysis

... and then you can parse it in a way you would like to ..

Site Timeline