No logging in Solaris 9 (with workaround)

René Berber r.berber at computer.org
Tue Sep 12 02:50:33 IST 2006


René Berber wrote:
[snip]
>     eval {
> #     if ($^O !~ /solaris|sunos|irix/i) {
>         Sys::Syslog::setlogsock('udp');
> #     } # else {
[snip]

My mistake, even if it works as shown above I should have changed it like this (I'm not sure about Irix or SunOS so it may still be wrong):

    eval {
      if ($^O !~ /solaris|sunos|irix/i) {
        Sys::Syslog::setlogsock('unix');
      } else {
        Sys::Syslog::setlogsock('udp');
      }
    }
-- 
René Berber



More information about the MailScanner mailing list