ZF-10859: Zend_Log_Writer_Syslog does not work when 'facility' param is set
Description
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
Comments
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.