On Sun, Jun 16, 2002 at 05:30:52PM -0400, Theo Van Dinter wrote: > To remove the extra debugging output one needs to comment out line 164 > in Signature/Ephemeral.pm > > --- lib/Razor2/Signature/Ephemeral.pm,orig Sun Jun 16 13:22:22 2002 > +++ lib/Razor2/Signature/Ephemeral.pm Sun Jun 16 13:18:26 2002@@ -161,7 > +161,7 @@ > > sub debug { > my $message = shift; > - print "debug: $message\n"; > + #print "debug: $message\n"; > }
I think you already know this now, but for the benefit of others: With the new debug sets, you can have a razor2 set, and only print the message if the source is configured to show a certain level of debugging for razor2. Something like: dbg("$message", "razor2", -3) Then in SpamAssassin.pm::new, you can set $DEBUG->{razor2}=-3; Ideally, we should add something to allow for changing those values from the command line instead of editing SpamAssassin.pm to change the debug verbosity. If there is interest for that, submit a bug and I'll come up with a patch. Marc -- Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger [EMAIL PROTECTED] for PGP key ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk