From: Banchshikov D. <d.b...@pe...> - 2008-01-18 15:16:48
|
Hello. In last version if squirrel_logger plugin there is problem, when trying to log into syslog. From my point of view, the problem is in the sl_log_to_system_log function. So, we have: function sl_log_to_system_log($message) { global $sl_syslog_priority; sl_get_config(); syslog($sl_syslog_priority, $message); } But we need: function sl_log_to_system_log($message) { global $sl_syslog_priority, $sl_syslog_facility, $sl_syslog_ident; sl_get_config(); openlog($sl_syslog_ident, 0, $sl_syslog_facility); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ syslog($sl_syslog_priority, $message); } Am I right? -- Banchshikov Dmitry |