On Jan 18, 2008 7:15 AM, Banchshikov Dmitry <d.banchshikov@xxxxxxxxxxxx> wrote: > 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? Yes, you are. Note that the same patch was submitted on the plugins mailing list a couple times over the last year. Always be sure to choose the correct forum and then search the archives before wasting your time. ;-) This fix will be included in a release that should be coming in the next month or so. Thank you. ------------------------------------------------------------------------- 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: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users