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)