You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/02/08 19:01:15 UTC
svn commit: r504983 - /spamassassin/trunk/masses/logs-to-c
Author: jm
Date: Thu Feb 8 10:01:15 2007
New Revision: 504983
URL: http://svn.apache.org/viewvc?view=rev&rev=504983
Log:
comment now-obsolete 'ignored rule test got a hit in file' warning in masses
Modified:
spamassassin/trunk/masses/logs-to-c
Modified: spamassassin/trunk/masses/logs-to-c
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/logs-to-c?view=diff&rev=504983&r1=504982&r2=504983
==============================================================================
--- spamassassin/trunk/masses/logs-to-c (original)
+++ spamassassin/trunk/masses/logs-to-c Thu Feb 8 10:01:15 2007
@@ -330,7 +330,9 @@
if ($test eq '') { next; }
if ($ignored_rule{$test}) {
- warn "ignored rule $test got a hit in $file!\n";
+ # this is not a log-worthy event anymore, since we have a lot
+ # of T_ test rules that are ignored during perceptron runs
+ # warn "ignored rule $test got a hit in $file!\n";
next;
}
@@ -340,12 +342,12 @@
}
if ($mutable_tests{$test}) {
- $num_tests_hit++;
- $out .= "t".$rule_to_index{$test}."\n";
+ $num_tests_hit++;
+ $out .= "t".$rule_to_index{$test}."\n";
- if ($num_tests_hit >= $max_hits_per_msg) {
- die "Need to increase \$max_hits_per_msg";
- }
+ if ($num_tests_hit >= $max_hits_per_msg) {
+ die "Need to increase \$max_hits_per_msg";
+ }
} else {
$base_score += $scores{$test};
}