Show quoted text> > use Sys::Syslog;
> > openlog("perl", "ndelay,pid", "local6");
>
> I have never used openlog before, only the lazy way :)
Maybe I should restate the documentation in a more punchy way:
The First Rule of Sys::Syslog is:
You do not call syslog() before calling openlog().
The Second Rule of Sys::Syslog is:
You do not call syslog() before calling openlog().
:)
Show quoted text> This appears to be the problem area, if I use openlog first it now does
> log to local6, however without openlog it uses /var/log/messages
> where as I never previously needed to use openlog to use local6.
I confirm that I can reproduce the same behaviour: calling syslog() with
a facility, and without calling openlog() first, does not set the correct
facility in v0.17 while it does in v0.15.
--
Sébastien Aperghis-Tramoni
Close the world, txEn eht nepO.