On Tue, 22 Jun 2010, Aaron Wiebe wrote: > On Tue, Jun 22, 2010 at 8:30 AM, Rainer Gerhards > <[email protected]> wrote: >> >> I think I just identified one myself. Let's assume that plugins can >> register xml entities. But that means that the xml parser can only be >> called after all plugins are loaded (because the plugins need to be >> loaded first). So I think the actual plugin load process could NOT be >> specified inside the main rsyslog.conf. Am I right here? >> > > Just do two explicit passes - one looks only for module definitions > and loads the modules (or modules and global settings), the other does > everything else.
I believe that his concern is that until he knows what modules are being loaded he can't know what tags are legal (and other things like allowed heirarcy content) the first pass could ignore that, just seeing if it's valid XML and loading any modules it finds there, then do a second pass where it does full validation of the file. David Lang _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

