Skip Menu |

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 28156
Status: resolved
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: david [...] schweikert.ch
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.96
Fixed in: (no value)



Subject: Do not use setlogsock with Sys::Syslog >= 0.15
Hi Paul, In the Sys::Syslog documentation it is written: --- Now that the "native" mechanism is supported by Sys::Syslog and selected by default, the use of the setlogsock() function is discouraged because other mechanisms are less portable across operating systems. Authors of modules and programs that use this function, especially its cargo-cult form setlogsock("unix"), are advised to remove any occurence of it unless they specifically want to use a given mechanism (like TCP or UDP to connect to a remote host). --- Note that Sys::Syslog supports the "native" mechanism since version 0.15. Could you therefore remove the setlogsock call unless Sys::Syslog is less than 0.15 and unless the user explicitely asks for a special logsock via syslog_logsock ? Thanks and Cheers David Schweikert
Fixed in 0.97.