Mike, > I found two empty _WARN: messages in my logs yesterday: > Jul 12 08:25:33 glacier amavis[20148]: (20148-01) _WARN: > Jul 12 08:25:33 glacier amavis[20148]: (20148-01) _WARN: > I suppose I'm being warned about something, and not just once, > but twice. Oh, the mystery - I wonder what it could be! > Amavis 2.6.1
A bug in logging perl warnings in 2.6.1, thanks for a report! The following should get it right: --- amavisd.orig 2008-06-29 02:37:58.000000000 +0200 +++ amavisd 2008-07-28 15:09:09.000000000 +0200 @@ -12976,7 +12976,7 @@ if ($daemonize) { # log warnings and uncaught errors $SIG{'__DIE__' } = - sub { if (!$^S) { my($m) = $@; chomp($m); do_log(-1,"_DIE: %s", $m) } }; + sub { if (!$^S) { my($m) = @_; chomp($m); do_log(-1,"_DIE: %s", $m) } }; $SIG{'__WARN__'} = - sub { my($m) = $@; chomp($m); do_log( 2,"_WARN: %s",$m) }; + sub { my($m) = @_; chomp($m); do_log( 2,"_WARN: %s",$m) }; } Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/