See inline > On Sep 16, 2016, at 10:31 PM, Gary Gregory <[email protected]> wrote: > > On Fri, Sep 16, 2016 at 8:38 PM, Ralph Goers <[email protected] > <mailto:[email protected]>> wrote: > Gary, > > I have no problem with components that can be dumbed down to do simple > things. I do have a problem with components that only do simple things > because people will constantly asked to have them be enhanced. > > As for what you are proposing here, can I just say “No”? > > Sure! :-) You can say whatever you want! :-) > > Having the Appenders element deferred just smells to me and having an > arbitrary script there just seems weird to me. Does it even have a contract > or is it a free-for-all? How does it cause multiple appenders to be > initialized? > > I think the RoutingAppender is a more appropriate solution. However, if you > want to dumb it down a bit and turn it into an AppenderSelector I’d be ok > with that. However, it would still be fairly similar to the RoutingAppender. > > OK, so going back to one of your eariler messages: > > ==copy start== > > This sort of sounds like you want an Appender Selector, which would be an > Appender that uses a Selector to figure out which Appender to delegate to. > This is a bit like the PatternSelector. I would imagine it would make sense > to implement AppenderSelectors and LayoutSelectors. You probably would want > to dynamically initialize the Appenders much like the RoutingAppender does. > > Maybe it would look like: > > <Appenders> > <ScriptSelector name=“" default=“”> > <Script language=“groovy”><