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

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

     [ https://issues.apache.org/jira/browse/FELIX-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-5865.
-----------------------------------

> 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é
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: scr-2.1.2
>
>
> 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)