logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Internals question
Date Thu, 15 Sep 2011 14:07:38 GMT
On 2011-09-15, Roy Chastain wrote:

> Hopefully someone knows the answer so I do not have to search through
> the code.

I did a quick grepp through the code as I wasn't sure myself.

> If a configuration for an appender is activated, then changed and
> activated again, is there a new instance of the appender class or is the
> old instance reused?

AFAICT the only place new instances of appenders are ever created is in
XmlHierarchyConfigurator.ParseAppender which means unless you
reconfigure the Hierarchy the old instances are re-used.

Stefan

Mime
View raw message