[syslog-ng] [review request] 3.6queue/f/stats-reset
Gergely Nagy
algernon at balabit.hu
Mon Nov 18 18:22:51 CET 2013
Evan Rempel <erempel at uvic.ca> writes:
> Perhaps the same logic can be used to identify those counters that have expired meaning that the stats-lifetime() has been exceeded,but
> instead of dropping the stat counter at that time, the counter is just flagged for dropping.
>
> Then it becomes the job of the statistics logging, based on the stats-freq() value, to log AND drop those counters that
> have been flagged as having exceeded the stats-lifetime().
>
> This way a counter is never dropped until it has exceeded the
> stats-lifetime() AND has been logged.
That makes a lot of sense, but syslog-ng-ctl stats should not count (or
perhaps only with a flag), precisely to avoid the scenario you outlined
too.
--
|8]
More information about the syslog-ng
mailing list