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|,]\]]# 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. MfG, Michael Storz -- ====================================================== Leibniz-Rechenzentrum | <mailto:[email protected]> Boltzmannstr. 1 | Fax: +49 89 35831-9700 85748 Garching / Germany | Tel: +49 89 35831-8840 ======================================================
