procmail
[Top] [All Lists]

counting how often my rules hit with LOGFILE

2002-08-26 21:08:42
Out of curiosity, I wanted to see how often each of my rules was used in
an average day, so I turned on VERBOSE and LOGFILE.  Now, I have a
question.  I searched the archives, but didn't find anyone who had asked a
similar question.

I'm looking for lines like this (identifying my rule):

procmail: Match on "^Subject.*Some mailling list"

to determine which rule hit.  Now, that also means that I get 30-40

procmail: No match on "^Subject.*Some other mailling list"

and the "Match on" line is followed by

procmail: Assigning "LASTFOLDER=mail/.INCOMING/Folder3"
procmail: Opening "mail/.INCOMING/Folder3"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "fuzzman(_at_)0:/home/fuzzman/mail/.INCOMING/Folder3"

I suppress the abstract with LOGABSTRACT=no.

My question is this:  Is there a way to ask procmail to just tell me a hit
and not all the misses (ie, not use VERBOSE, but still get the "Match on"
line)?

If not, I can quite easily grep the extra information out.  I was just
looking to generate a smaller log.

Fuzzy
-- 
Quidquid Latine dictum sit, altum videtur.
Si hoc legere scis, nimium eruditionis habes.
Vir sapit qui pauca loquitur.
Cras amet qui numquam amavit, quique amavit cras plus amet.
Uno itinere non potest perveniri ad tam grande secretum.



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail