[Bug 8326] New: syslogd: improve duplicate detection

bugzilla at busybox.net bugzilla at busybox.net
Fri Sep 4 09:11:26 UTC 2015


https://bugs.busybox.net/show_bug.cgi?id=8326

           Summary: syslogd: improve duplicate detection
           Product: Busybox
           Version: 1.24.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: bernhard at breinbauer.net
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


The current implementation of ENABLE_FEATURE_SYSLOGD_DUP includes the timestamp
into the comparison of current and previous log message. Therefore duplicates
are only detected if they appear in the same second.

The following patch moves the detection into timestamp_and_log() where the
timestamp has been removed and also adds a message how often a message was
repeated.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list