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.wiedm...@gmail.com> > wrote: > > On Fri, Jun 17, 2016 at 3:07 PM, Ralph Goers <ralph.go...@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-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org