logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Wiedmann <jochen.wiedm...@gmail.com>
Subject Re: Multiple instances of log4j2.xml
Date Fri, 17 Jun 2016 13:15:01 GMT
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


Mime
View raw message