Have a look at the "call" doc:
https://www.rsyslog.com/doc/master/rainerscript/rainerscript_call.html
I think it explains your question.
Note, however, that thread-safeness is different from [a]sync
processing. There are some inherent races when non-direct queues are
involved. But from context
Sorry, sent incomplete mail last time (bad key combination)
This is what we are trying to do
*Old Code. All code is written inside main-ruleset*
ruleset(name="main-ruleset") {
// Capability 1 code
// Capability 2 code
// Capability 3 code
// Capability 4 code
//
We are trying to re-organize our long long rainer script into modules so
that its more readable. As part of that, wondering if rulesets (backed by
direct queues) are synchronous and thread safe
Ex:
Old Code
ruleset(name="main-ruleset" queue.type="Direct" queue.timeoutenqueue="0" ) {
//
3 matches
Mail list logo