[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: syslog-ng[164]: STATS: dropped 0



On Thu, Dec 19, 2002 at 08:42:05AM -0500, David B Harris wrote:
> <snip really, really complex and nasty ways of removing STATS messages>

But remove stating messages is not what I've done.. 
The patch drops ONLY "0 droppet packet" message. others are logged.

> options { stats(3600); };

I've check the source and effectively there is an option like that.

> #  stats()                    num      The number of seconds between two
> #                                      STATS.

It seem to be an undocumented feature. 
grepping debian installed file don't help me a lot on that feature.

> The snippet above will cause STATS to be reported every hour instead of
> every ten minutes.
> 
> If I recall correctly, setting it to 0 will disable it.

from the changelog.gz:
2002-06-17  Balazs Scheidler  <bazsi@balabit.balabit>

        * src/main.c: stats_freq is checked against <= 0, instead of !=
	-1 to disable stats reporting

-- 
Tab

Attachment: pgpIjw2AnNBsi.pgp
Description: PGP signature


Reply to: