You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Avery Day <sc...@dayzed.com> on 2004/04/15 04:39:12 UTC

how to get SA to log performance

I remember at one time I had spamassassin logging its performance. It was
creating a log file for each email it scanned and gave statistics on the
time it took to do a scan. I cant remember how I did this. I remember
putting something into the local.cf file. Would somone mind refreshing my
memory. I googled around forever using the term spamassassin and logging
and couldn't find anything.

Thanks
-- 
Avery

Re: how to get SA to log performance

Posted by Avery <sc...@dayzed.com>.
Theo Van Dinter said:
> Sure, it didn't work right, and removing it improved performance of all
> the code by something like 15-25%.

Wow, I guess thats a easy change to justify :)

Thanks
-- 
Avery

Re: how to get SA to log performance

Posted by Theo Van Dinter <fe...@kluge.net>.
On Mon, Apr 19, 2004 at 08:23:37PM -0700, Avery wrote:
> This really sucks because this was a really handy tool to have around. I have not been
> able to find the reason why it has been removed. Maybe soneone knows why.

Sure, it didn't work right, and removing it improved performance of all
the code by something like 15-25%.

You'd have to dig through the old spamassasin-devel list archives for
more info.

-- 
Randomly Generated Tagline:
"It's almost like we're doing Windows users a favor by charging them
 money for something they could get for free, because they get confused
 otherwise." -Larry Wall, on the "commercial" version of Perl for Windows

Re: how to get SA to log performance

Posted by Avery <sc...@dayzed.com>.
Here is the answer I was looking for. If you put the line
timelog_path /path/to/log/dir
then spamassassin will put a single file for every scan it does into the directory
specified and write statistics about its performance. Unfortunately it seems to be
discontinued and does not appear to be working in spamassassin 2.63
This really sucks because this was a really handy tool to have around. I have not been
able to find the reason why it has been removed. Maybe soneone knows why.


--
Avery