Re: syslog-ng[164]: STATS: dropped 0
On Thu, Dec 19, 2002 at 08:42:38AM -0200, Samuel Lucas Vaz de Mello wrote:
> Hi all!
>
> I'm getting this messages in the syslog:
>
> Dec 18 10:07:55 debian syslog-ng[164]: STATS: dropped 0
> Some idea about what this mean?
> Regards,
Hi,
this message is syslog-ng notice message, which tell you it hasn't drop
any /dev/log packets.
(this feature seem not connected as far as I can see)
You can rid of this message with something like that:
filter f_syslog { not facility(auth, authpriv, kern) and \
not match("STATS: dropped 0")};
you probably better do something like that in the source code to avoid
pattern matching on all syslog target packet, but you'll need a recompilation
of your syslog-ng. :)
--- src/main.c 2002-10-14 10:24:05.000000000 +0200
+++ src/main~.c 2002-12-19 12:29:08.000000000 +0100
@@ -130,7 +130,8 @@
{
CAST(report_stats, self, c);
- notice("STATS: dropped %i\n", pktbuf_dropped_pkts);
+ if (pktbuf_dropped_pkts)
+ notice("STATS: dropped %i\n", pktbuf_dropped_pkts);
pktbuf_dropped_pkts = 0;
io_callout(&self->backend->super, self->timeout, &self->super);
}
--
Tab
Reply to: