The Logger tries to load the LogService interface. Once the logger is
initialized it will never check this a second time.

    public Logger(BundleContext context)
    {
        m_context = context;
        try
        {
            org.osgi.service.log.LogService.class.getName();
            m_isLogClassPresent = true;
        }
        catch (NoClassDefFoundError ex)
        {
            m_isLogClassPresent = false;
        }
    }



--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/How-to-set-default-logger-tp5004867p5004875.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to