FirePHP doesn't always write log messages
问题 I set my loggers up in my Bootstrap.php like so: $logger = new Zend_Log(); if($environment->debug == '1') { $stream = @fopen('/var/www/html/rta/rta.log','a',false); if(!$stream){ throw new Exception('Failed to open log stream'); } $writer = new Zend_Log_Writer_Stream($stream); $logger->addWriter($writer); $logger->addWriter(new Zend_Log_Writer_Firebug()); } else { // Do something else } Zend_Registry::set('logger',$logger); I have the following code that I set up to fail: $data = array(