You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Raymond Augé (JIRA)" <ji...@apache.org> on 2018/06/12 15:51:00 UTC

[jira] [Created] (FELIX-5865) SCR r7 logging support doesn't work on equinox framework

Raymond Augé created FELIX-5865:
-----------------------------------

             Summary: SCR r7 logging support doesn't work on equinox framework
                 Key: FELIX-5865
                 URL: https://issues.apache.org/jira/browse/FELIX-5865
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
            Reporter: Raymond Augé


What happens is that there is a class name check against the LogService returned and rather than checking that the object implements LoggerFactory it does:
{code:java}
"org.osgi.service.log.LoggerFactory".equals(
    this.logService.getClass().getSuperclass().getName())
{code}
which in the case of Equinox isn't correct.

The code should recurse through the class hierarchy until it finds no super type that is a LoggerFactory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)