On Tue, Jul 7, 2009 at 12:00 AM, Stéphane Jeanjean<stephane.jeanj...@softeam.com> wrote: > Hello, > > I try to access to the configuration of my Pax Logging with : > Logger.getRootLogger().getAllAppenders(); > > But this list is always empty even I have a full configuration with few > appenders which works. > > I think is due to encapsulation of log4J in Pax Logging. > Do you know if there is a way to acces to the log4J configuration ?
Are you accessing this from the 'client code', i.e. a bundle that simply use the Log4J API?? If so, then it doesn't work, and I doubt it will ever be added, since there is a non-Log4j abstraction between the Log4J API that clients use and the internal Log4j implementation in the service. Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general