No logging in Solaris 9 (with workaround) - question?
René Berber
r.berber at computer.org
Tue Sep 12 21:04:25 IST 2006
Julian Field wrote:
> René Berber wrote:
[snip]
>>> eval {
>>> if ($^O !~ /solaris|sunos|irix/i) {
>>> Sys::Syslog::setlogsock('unix');
>>> } else {
>>> Sys::Syslog::setlogsock('udp');
>>> }
>>> }
>>>
> Can other Solaris users comment on this please?
Testing other Solaris servers:
Solaris 8 / perl 5.6.1(AS) / doesn't work as above, it works with commented else
Solaris 9 / perl 5.8.0 / works both ways (as above and commented out else)
Solaris 10 / perl 5.8.4 / works both ways (as above and commented out else
The second test contradicts my original findings, I had no logging until I changed the code but it should have worked with no setlogsock.
--
René Berber
More information about the MailScanner
mailing list