ZF-10702: Zend_Cache_Backend cannot attach logger form application.ini
Description
resources.cachemanager.foo.backend.logger = something
gives $this->_directives['logger'] = someting
in Zend_Cache_Backend
{quote}if ($this->_directives['logger'] instanceof Zend_Log) {
return;
}
Zend_Cache::throwException('Logger object is not an instance of Zend_Log class.');
{quote}
i think there should alsow be check if $this->_directives['logger'] instanceof Zend_Config and used Zend_Log::factory then
Comments
Posted by Bartosz Cembor (cemborek) on 2011-02-11T15:02:11.000+0000
Patch attached