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


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


Fixed in trunk r23574 merged to release branch 1.11 r23576.