On Mon, Apr 11, 2005 at 04:39:06PM +0100, Alex David Shadrach Hooper wrote:
> Pulled from Ed Ravin's mail (Mon, Apr 11, 2005 at 11:21:59AM -0400):
> >
> > 229
> > 230 setlogsock('unix')
> > 231 if grep /^ $^O $/xo, ("linux", "openbsd", "freebsd", "netbsd");
> > 232
> > 233 openlog ("mon", "cons,pid", $CF{"SYSLOG_FACILITY"});
> >
> > And do something with the setlogsock() that's appropriate for Solaris
> > and/or the way you have syslog set up there.
> >
>
> Ah, yes. I should have tried all the possibles listed in the Sys::Syslog
> manpage before posting; 'stream' seems to work nicely. Thanks very much.
Sounds like we should add another couple of lines to Mon just before
the openlog() call above:
setlogsock('stream')
if grep /^ $^O $/xo, ("solaris");
I've been wondering for a while if this should be a config file parameter.
|