On Fri, 21 Oct 2011, Rainer Gerhards wrote:

Yes, and it would be more efficient than the if -- but still less efficient
than the simple selector filter.

If you are up for speed, use
- traditional selector
- property
- script
Filter in that order and go to the next one only if you actually need to. IF
speed doesn't matter, this is obviously unimportant.

It would be handy to have some idea of how big the speed differences are between these (if anyone has some time to run benchmarks)

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to