ZF-12125: Support PHP 5.3 namespaces in custom Zend_Log writers

Issue Type: Bug Created: 2012-03-29T09:49:31.000+0000 Last Updated: 2012-03-29T09:56:04.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

Reporter: Andries Seutens (andries) Assignee: Andries Seutens (andries) Tags: - Zend_Log

Related issues: Attachments:


Currently you cannot configure Zend_Log to use a custom PHP 5.3 namespaced writer.

<pre class="highlight"> 
$config = array(
    'mine' => array(
        'writerName'      => 'Writer',
        'writerNamespace' => '\Zfns\\',

$logger = Zend_log::factory($config);

Will fail, as it will try to find a class with the name \Zfns_Writer in the path /Zfns/


Posted by Andries Seutens (andries) on 2012-03-29T09:56:04.000+0000

Issue was resolved in svn r24702

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.