On Mon, 2008-10-06 at 10:29 -0600, RB wrote: > Beyond the scope of this discussion, I've not looked at your > configuration parsing but wonder if you're not parsing it into an > internal, static structure and handling bits from there. If you were, > it would be trivial to parse your new configuration, see how/whether > it differs from the running one, and shift over if able - like > failsafe firmware in embedded systems. That would also offer > interesting implications for alternative configuration syntaxes.
That is quite complex, because the configuration defines what can be configured. With the plug-in architecture, we do not have any fixed memory structures. So, we would need to spawn a new process, load plugins there, check what in-memory structures they create and, if they differ, than use this new configuration instead of the old one. Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

