ZF-10702: Zend_Cache_Backend cannot attach logger form application.ini

Issue Type: Improvement Created: 2010-11-17T16:52:13.000+0000 Last Updated: 2011-02-11T15:02:12.000+0000 Status: Open Fix version(s): Reporter: Bartosz Cembor (cemborek) Assignee: Bartosz Cembor (cemborek) Tags: - Zend_Cache

Related issues: Attachments: - 10702.patch

Description = 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


Posted by Bartosz Cembor (cemborek) on 2011-02-11T15:02:11.000+0000

Patch attached

Have you found an issue?

See the Overview section for more details.


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

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