From: minima Date: Tue, 2 Oct 2001 10:49:45 +0000 (+0000) Subject: slightly improve logging of badword messages X-Git-Tag: R_1_49~87 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=f440e0d41cde05ede965cbf664bfcdbe6ed149f0;p=spider.git slightly improve logging of badword messages --- diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index fb9e962f..dc9aff91 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -305,8 +305,8 @@ sub process } push @words, BadWords::check($ref->{subject}); if (@words) { - dbg("message with badwords '@words' $ref->{from} -> $ref->{to} '$ref->{subject}' origin: $ref->{origin}") if isdbg('msg'); - Log('msg',"message with badwords '@words' $ref->{from} -> $ref->{to} origin: $ref->{origin}"); + dbg("message with badwords '@words' $ref->{from} -> $ref->{to} '$ref->{subject}' origin: $ref->{origin} via " . $self->call) if isdbg('msg'); + Log('msg',"message with badwords '@words' $ref->{from} -> $ref->{to} origin: $ref->{origin} via " . $self->call); Log('msg',"subject: $ref->{subject}"); for (@{$ref->{lines}}) { Log('msg', "line: $_");