ZF-8382: Zend_Log_Writer_Syslog does not utilize formatter
You can set an formatter for an Zend_Log_Writer_Syslog object. But as it seems this formatter is never used.
In my opinion the formatter should be utilized, once you are allowed to set one... See this very trivial patch to Zend/Log/Writer/Syslog.php:
--- Syslog.php (revision 19) +++ Syslog.php (working copy) @@ -170,6 +170,8 @@ $this->_initializeSyslog(); }
- syslog($priority, $event['message']);
- $line = $this->_formatter->format($event);
- syslog($priority, $line); } }