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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
