[syslog-ng] syslog-ng-2.1beta1 on NetBSD 3.0, duplicate suppression docs?

chris packham chris.packham at alliedtelesis.co.nz
Wed Jul 2 01:04:26 CEST 2008


Hi Ed,

On Tue, 2008-07-01 at 18:19 -0400, Ed Ravin wrote:
> 4) I'm looking for info on how to use the duplicate suppression
> option - it doesn't seem to be in the docs included in the source.
> Can someone give me a quick summary?  This was (IMHO) the only
> extant flaw in syslog-ng and I'm looking forward to trying it out!

You just need to add suppress(<seconds>) to your destination config.

e.g. to suppress duplicate messages that occur within 60 seconds

destination d_file { file("/var/log/messages" template(t_logfile)
suppress(60)); };




More information about the syslog-ng mailing list