Re: [syslog-ng] syslog-ng-2.1beta1 on NetBSD 3.0, duplicate suppression docs?
2 Jul
2008
2 Jul
'08
12:04 a.m.
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)); };
6262
Age (days ago)
6262
Last active (days ago)
0 comments
1 participants
participants (1)
-
chris packham