On Wed, 27 Apr 2011, Rainer Gerhards wrote:

Hi all,

without any pressing need, I'd like to share with you some thoughts of a
potential future rsyslog multi-config system:

http://blog.gerhards.net/2011/04/rsyslog-config-reload-random-thoughts.html

This is NOT something I intend to fully implement soon, but I am working a
bit on paving the way.

my first thought (while still reading the post) is that you really shouldn't need to load the modules to parse the config file into a memory structure.

you will need to load the module to _validate_ the config (to see if all the config items are valid and contain valid data types)

but the config language should be such that the structure of the config and the process of parsing the config options into a memory structure should be a separate step before doing the validation.

I think this should significantly simplify your task compared to doing the validation and parsing at the same time.

among the other benifits, this lets you have one validation engine, even if you support multiple config languages (old + new for example)

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

Reply via email to