2010/6/24 Rainer Gerhards <[email protected]>:
> One thing that was often requested, and very useful from my perspective as
> well (also thinking about internal processing) is the ability to nest
> filters/actions. Things like
>
> if $source = 'host1' then
>   do action 1
>   do action 2
>    if $msg contains 'error then
>      do action 3
>    end if
>   do action 4
> else
>  do action 5
> end if
>
> And so on -- I think you grasp what I mean. Expressing this in XML is
> probably impossible (from a readability type of view).

Well, maybe lua would be a good fit then, although I have to admit
that I don't really have experience with it.

It should be flexible enough to express nearly everything and would at
least be more familiar than a custom language/config format like
RainerScript.

Rainer, have you written down somewhere what requirements you do have
for your new config file format?

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to