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)); };