homepage Welcome to WebmasterWorld Guest from 107.21.163.227
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP error logging framework and reports
thing3b




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

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




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved