ZF-10859: Zend_Log_Writer_Syslog does not work when 'facility' param is set

Issue Type: Bug Created: 2010-12-21T14:44:32.000+0000 Last Updated: 2010-12-23T15:26:57.000+0000 Status: Resolved Fix version(s): - 1.11.2 (30/Dec/10)

Reporter: Peter Voringer (voringer) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Log

Related issues: Attachments:


Zend_Log_Writer_Syslog uses method chaining for setApplicationName() and setFacility() (also doc-comment is wrong), but in factory() the result of setFacility () is set as the facility attribute.

$this->_facility = $this->setFacility($params['facility']);

Fix: 106: $this->setFacility($params['facility']); 179: * @return Zend_Log_Writer_Syslog 213: * @return Zend_Log_Writer_Syslog


Posted by Ramon Henrique Ornelas (ramon) on 2010-12-23T15:26:54.000+0000

Fixed in trunk r23574 merged to release branch 1.11 r23576.

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.