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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.