> I haven't been able to find a configuration option to make 
> SpamBayes log to a central log it's results???

Except for the frozen Windows binaries, all the scripts just log to
stdout/stderr.  You could, probably, get a central log by piping the output
(although I don't really know anything about procmail).  (Something like
'python sb_filter.py 2>>~/spambayes.log').

This will contain any errors or verbose information that sb_filter outputs.
IIRC that doesn't include any information about messages classified (unless
something goes wrong).

> I would just love to get a central log of how many spams, unsures and 
> hams it finds.

You could add this by adding something like "print >>sys.stderr, disp" at an
appropriate place in the filter() function in spambayes/hammie.py.  However,
if you're going to modify the source, you could not bother with the piping
and just get sb_filter to open up a log and enter results into it.

(If sb_filter.py ever (optionally?) uses the spambayes.message class, then
all this information would be in the messageinfo database.  It's much
cleaner as it is, though).

Does procmail maybe have the facility to do this for you?

=Tony.Meyer

-- 
Please always include the list ([email protected]) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.

_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to