Hi osgi-over-slf4j developers,<br><br>I've tested osgi-over-slf4j 1.7.2 with equinox 3.8 and cannot use the SLF4J LogService because<br>Equinox register also a LogService with default ranking 0. SLF4J gets also ranking 0 (default ranking)<br>
because no service ranking is explicitly set. Is it OK for you if I introduce ranking = 10 for SLF4J LogService?<br>If want to commit following change:<br><br> Properties props = new Properties();<br> <b>props.put(Constants.SERVICE_DESCRIPTION, "An SLF4J LogService implementation.");<br>
props.put(Constants.SERVICE_RANKING, 10);</b><br> ServiceFactory factory = new LogServiceFactory();<br> bundleContext.registerService(LogService.class.getName(), factory, props);<br><br>to org.slf4j.osgi.logservice.impl.Activator. I also think, that we should made log service ranking configurable ... (via system property for example).<br>
With the above change, I can also see OSGi log messages in Beagle ;-) Thats COOL ...<br><br>Christian<br>