Quoting Michael Storz <[email protected]>:

On Wed, 30 Mar 2011, Patrick Ben Koetter wrote:

Date: Wed, 30 Mar 2011 09:19:36 +0200
From: Patrick Ben Koetter <[email protected]>
To: Amavis Users <[email protected]>
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@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


Reply via email to