Logging statistics

Helga Mayer helga.mayer at uni-hohenheim.de
Wed Mar 30 18:18:05 CEST 2011


Quoting Michael Storz <Michael.Storz at lrz.de>:

> On Wed, 30 Mar 2011, Patrick Ben Koetter wrote:
>
>> Date: Wed, 30 Mar 2011 09:19:36 +0200
>> From: Patrick Ben Koetter <p at state-of-mind.de>
>> To: Amavis Users <amavis-users at amavis.org>
>> Subject: Logging statistics
>>
>> Mark,
>>
>> most people I know run amavis with $log_level = 2, because it gives them
>> valuable output on spam test scores. They feed this output to scripts and
>> create statistics.
>>
>> However running amavis in that $log_level also creates a lot of unnecessary
>> output - unless you debug.
>>
>> I think it would be useful to have a separate option that lets  
>> amavis run with
>> normal, low $log_level, but creates output for statistical  
>> purposes. I am not
>> sure though how it should be stored. Both, logfile and snmp.db, seem to be
>> good places. I guess snmp.db would be the hard way. Anyway...
>>
>> Would you consider adding such a feature?
>>
>> p at rick
>>
>>
>>
>
> Hi Patrick,
>
> we run with log_level = 0 and still get all the necessary data. We have
> uncommented the line
>
> #[? %#T ||, Tests: \[[%T|,]\]]#

Thank you for the hint, that's exactly what I needed.

MfG
Helga Mayer

>
> for config variable $log_templ to get the tests and their score. I am
> using this to check, if all my local tests are still working.
>



Helga Mayer
Universität Hohenheim
Kommunikations-, Informations- und Medienzentrum (630)
IT-Dienste | Mail

Schloss-Westhof-Süd | 70599 Stuttgart
Tel.:  +49 711 459-22838 | Fax: +49 711 459-23449
https://kim.uni-hohenheim.de




More information about the amavis-users mailing list