Well, i want to add recognition of my specific elements in hierarchy configuration, similar to <logger>. And this elements can contain <appender-ref> elements (just as logger do) with reference to some appender - so, i can't use default capabilities of SetParameter - there can't be sutable add-method for "appender-ref".

---------------
You wrote to "Log4NET User" <[email protected]> on Sun, 17 Dec 2006 10:02:22 -0800 (PST):

RG> XmlHierarchyConfigurator seems like a fairly complex class that was
RG> designed to parse a particular file structure without much thought for
RG> extensibility (its probably not a good thing to encourage people to use
RG> their own slightly different configuration file structure). Take the
RG> SetParameter method for example...making that virtual (~250 lines)
RG> would allow you to change how parameters are set but my guess is that
RG> you'd still need to copy and paste a lot of that code to get your
RG> override to perform similiar to the base method.

RG> What parts of XmlHierarchyConfigurator do you want to override?


Reply via email to