enhancement: -v, -vv, and -vvv

Allyn Fratkin allyn at fratkin.com
Tue Oct 22 08:54:22 CEST 2002


> Check on the cvs version before doing anything and then double check
> with me (directly).  I've done some work on rationalizing what different
> levels of verbosity do, since the feature freeze for 0.7.5.


ok, i learned how to use cvs today.  :-)

> 1) Using -p or -v produces an X-Bogosity header.
>
> 2) Using -pv or -vv also output the 15 extrema tokens and their
> probabilities to stdout.  Hence they will appear in the message after
> the headers.
>
> 3) Using -pvv or -vvv expands #2 with a couple more columns giving
> details of the probability calculation.
>
> I have the verbose displays of getting/setting word values turned off.

thanks for this last one, this was one of my chief complaints.  i agree
with all of #1,2,3.  my issue is that "getting lock", "releasing lock"
kind of debugging is still at -vv (verbose>1) where i would prefer that
only the header and the 15 extrema tokens be generated.

i am submitting a patch for datastore_db.c that simply moves all
of the messages that bug me to -vvv (verbose>2).

if it is important that these messages be visible at (verbose>1) someone
please speak up!
-- 
Allyn Fratkin             allyn at fratkin.com
Escondido, CA             http://www.fratkin.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: datastore_db.c.-vvvpatch
URL: <https://www.bogofilter.org/pipermail/bogofilter-dev/attachments/20021021/3e72c76d/attachment.ksh>


More information about the bogofilter-dev mailing list