logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: Multiple instances of log4j2.xml
Date Fri, 17 Jun 2016 16:15:49 GMT
Configuration is not part of the public API - it is very implementation specific. So Configurator
is part of log4j-core. However, we expect it to be used by applications so it is one of the
classes in core where we try to maintain binary compatibility.

Ralph

> On Jun 17, 2016, at 6:15 AM, Jochen Wiedmann <jochen.wiedmann@gmail.com> wrote:
> 
> On Fri, Jun 17, 2016 at 3:07 PM, Ralph Goers <ralph.goers@dslextreme.com> wrote:
>> You would use Configurator.initialize(“MyContextName”, this.getClass().getClassLoader(),
uri);
>> 
>> The classLoader value can be null.
> 
> Thanks, Ralph. One question, though:
> 
> The class Configurator is not present on
> 
>  http://logging.apache.org/log4j/2.x/log4j-api/apidocs/index.html
> 
> Hence, it doesn't seem to be a part of the public API?
> 
> Jochen
> 
> 
> -- 
> The next time you hear: "Don't reinvent the wheel!"
> 
> http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message