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
|