Hi,

I'm developing some code to allow on-the-fly customization of the Log4j
configuration in an application, not simply the Priorities assigned to
Categories, but also addition and deletion of Appenders too.

I wanted to provide a list of all the Appenders and allow users to
select the one they want to use.

The only way I can see from a user perspective (i.e. without modifying
the Log4J source) to produce a list of Appenders is to scan through all
the Categories and build a list of all the Appenders based on which ones
are assigned, but if I have an Appender defined in my XML configuration
(I use DOMConfigurator) then using this approach I don't see any
Appenders which aren't assigned to any Category.

Is there a better way to get a list of available Appenders?

Thanks and Regards,

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to