[syslog-ng] How to "drop" a message, effectively skipping further processing and not logging it?

Geller, Sandor (IT) Sandor.Geller at morganstanley.com
Fri Sep 7 10:44:26 CEST 2007


Hello,

> Is there any way other than this to keep a message from being 
> sent to another 
> host or a file?  If not, is there any way to tell syslog-ng 
> NOT to modify the 
> state of a file, just to send data TO it?  That, or an 
> internal "drop" 
> stop-processing built-in destination would be extremely useful.

Simply remove all destinations from the log section and use
flags(final) will do the trick.

Regards,

Sandor
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.


More information about the syslog-ng mailing list