[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    syslogd -D does not always drop duplicates
From:       Guillermo Rodriguez Garcia <guille.rodriguez () gmail ! com>
Date:       2017-03-13 14:33:23
Message-ID: CABDcavaRTaRSyr4egea8Jh6TVmPi56p12ra1=yKUNPm5idXdVg () mail ! gmail ! com
[Download RAW message or body]

Hello all,

I am trying to get syslogd to drop duplicate messages (-D option) but
it does not seem to work. Simple test:

$ syslogd -K -D
$ echo test | logger
$ echo test | logger
$ echo test | logger
$ dmesg | tail
[...]
syslogd started: BusyBox v1.22.0
root: test
root: test
root: test
$

However it seems to be doing "something" since it manages to drop
duplicates in this case:

$ killall syslogd; syslogd -K -D
$ echo test | logger ; echo test | logger ; echo test | logger

$ dmesg | tail
[...]
syslogd exiting
syslogd started: BusyBox v1.22.0
root: test
$

I am probably missing something obvious, but what is it ?

Thank you,

Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic