Hi guys,

I'm running mon r1.22 on RHEL 4 with perl 5.8.5 and the following line:

        my @log = map { s/\%//mg; } @_;

in

        no warnings; # Redefining syslog
        sub syslog {
           eval {
               local $SIG{"__DIE__"}= sub { }; 
               my @log = map { s/\%//mg; } @_;
               Sys::Syslog::syslog(@log);
           }
        }
        use warnings;

breaks logging to syslogd for me (ie. nothing is being logged). If I
pass @_ to Sys::Syslog::syslog directly, everything works fine.

What's the idea behind this substitution, why is it needed?

Thanks,
Radek

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to