All ContextSelectors are part of log4j-core, not log4j-api. Ralph
> On Sep 28, 2018, at 7:59 AM, Rob Gansevles <rgansev...@gmail.com> wrote: > > Hi, > > I would like to use the BasicContextSelector in our OSGI application so > have a single global log4j connfiguration as described in > http://logging.apache.org/log4j/2.x/manual/logsep.html > > However, BasicContextSelector lives in > package org.apache.logging.log4j.core.selector which does not seem to be > usable from log4j-api. > > This package is not imported in the manifest of log4j-api like other > packages (for example org.apache.logging.log4j.core.async). > > Is this missing, or am I missing something? > > I am using log4j 2.11.1 > > Regards, > > Rob --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org