setlogsock
Russ Allbery
rra at stanford.edu
Tue Jun 18 18:37:14 UTC 2002
Alex Kiernan <alexk at demon.net> writes:
> 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?
I *think* that the current version of Sys::Syslog is supposed to just
figure it out, but I'm not sure about that. (I think it's supposed to try
Unix first and then fall back on UDP.)
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list