Issues

ZF-5978: Logger sanity check workflow has to be improved

Issue Type: Improvement Created: 2009-03-09T15:32:38.000+0000 Last Updated: 2009-03-09T15:43:31.000+0000 Status: Resolved Fix version(s): - 1.7.7 (16/Mar/09)

Reporter: Alexander Veremyev (alexander) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Cache

Related issues: Attachments:

Description

Logger sanity check is performed at each Zend_Cache_Backend::setDirectives() call. So it's done at each logger object update. If logging directive is set but existing logger is not an instance of Zend_Log then default logger is created instead instead of throwing exception.

_log() method has a error. It throws an exception if "logger is not set" *or* if logger *is* an instance of Zend_Log.

Comments

Posted by Alexander Veremyev (alexander) on 2009-03-09T15:43:30.000+0000

Fixed.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts