Hi,
Try with thing like this in your ErrorController
$dir = Zend_Registry::get('dir');
$log = new Zend_Log(
           new Zend_Log_Writer_Stream(
                       $dir->log.'applicationException.log'
                    )
);
$log->debug($errors->exception->getMessage() . "\n" .
           $errors->exception->getTraceAsString());

Bye.
-- 
View this message in context: 
http://n4.nabble.com/How-to-log-an-exception-throwed-inside-a-controller-tp1572369p1573021.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to