nolanpro Posted July 17, 2009 Share Posted July 17, 2009 I have defined a function for error handling with set_error_handler but its not catching anything that gets sent with the error_log function. I'm running from CLI, tried capturing with ob but it only captures stdout, not stderr, which is where error_log is going. use case: simplePie throws notices with error_log, and its wreaking havoc on my cron job output. I would like for it to go to a handler instead of editing simplePie, as to make drop-in upgrades to simplePie easy. Any ideas? Thanks! Link to comment https://forums.phpfreaks.com/topic/166379-make-error_log-work-with-set_error_handler/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.