Welcome to WebmasterWorld Guest from 54.226.60.235

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP error logging framework and reports

     

thing3b

11:42 pm on Feb 6, 2007 (gmt 0)

10+ Year Member



I have always been a fan of watching my log files and my custom CMS now has separate log files for watching redirects, 404s, PHP errors and even inter-site communication (pings etc).

The problem I have is that these are all just going to text files and in some cases the text files are over 1MB per day.

Can anyone point me to a PHP program that I can call via an API like:
Log::LogError(404,'Blah')
And that can take errors or debug lines and make useful reports out of them?

sabai

10:41 pm on Feb 7, 2007 (gmt 0)

10+ Year Member



PEAR logging is the standard way to log from PHP apps.

[pear.php.net...]

Log to file, DB, anything you like. But it doesn't do any analysis, or present the logged data in any way.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month