[syslog-ng] Multiple log statements vs If/else

Fabien Wernli wernli at in2p3.fr
Thu May 9 13:55:39 UTC 2019

On Thu, May 09, 2019 at 12:58:50PM +0000, Faine, Mark R. (MSFC-IS40)[NICS] wrote:
> I can understand that, however, if you’re trying to convert yaml into a log path it would be hard to do if/else dynamically.  I am curious about how the declaration order matters.  My understanding is that each message will be evaluated for a match on each log statement in the order that they appear in the file and only when it hits a log statement with a final flag will it stop attempting to match.  Is that correct?

there is also the 'fallback' flag

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2801 bytes
Desc: not available
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20190509/be60dc32/attachment.bin>

More information about the syslog-ng mailing list