setlogsock

Alex Kiernan alexk at demon.net
Tue Jun 18 13:47:45 UTC 2002


What's the right way to do setlogsock with Perl on Solaris? I've got
boxes running which aren't listening for syslog, but which do have a
unix domain socket willing to take syslog (we've a local daemon which
maps it onto the streams device).

Half the INN code does things like:

Sys::Syslog::setlogsock('unix') if $OSNAME =~ /linux|freebsd|dec_osf/;

other just does:

setlogsock('unix')

Whats the right thing to do?

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc


More information about the inn-workers mailing list