Hi, it's more Pax Logging related.
Currently, Karaf uses pax-logging 1.11, which is R6 compliant, so org.osgi.service.log 1.3. Pax Logging 2.0 (not yet relesed, I will release it soon) is R7 compliant, so org.osgi.service.log 1.4. Karaf 4.3.0.RC1 will use Pax Logging 2.0. Karaf 4.2.x should stay in R6, but it could work to upgrade to Pax Logging 2.0.0 (it's not super clean, but working). Anyway, in your case, I will definitely prefer to upgrade to 4.3.0.RC1 that will be R7 compliant. Regards JB On 07/01/2020 21:57, Markus Rathgeb wrote: > Hi JB, > > have you had any luck on adding support for the most recent Pax Logging > code base to org.apache.karaf.log.core? > > Do you already know if you find enough time to add Log Service > Specification 1.4 support to Karaf 4.2.8? > > Best regards, > Markus > > Am So., 22. Dez. 2019 um 13:14 Uhr schrieb Markus Rathgeb > <[email protected] <mailto:[email protected]>>: > > At least for me it would be really great of the log service 1.4 could > be used in 4.2.8 ;) > > Am Fr., 20. Dez. 2019 um 15:52 Uhr schrieb Jean-Baptiste Onofré > <[email protected] <mailto:[email protected]>>: > > > > Hi, > > > > I think we can backport this in Karaf 4.2.x. Originally, I planned to > > focus this only on Karaf 4.3.x, but it makes sense to backport > > "compendium/extra" package on 4.2.x, even if the framework is > still R6. > > > > I'm not sure I will have time to do that for 4.2.8, but let me try. > > > > Regards > > JB > > > > On 20/12/2019 14:59, Markus Rathgeb wrote: > > > Hi JB, > > > me again. ;) > > > > > > In Karaf 4.2.7 the scr feature already implements the Declarative > > > Services Specification 1.4. > > > Would it be possible that Pax Logging provides an implementation of > > > the Log Service Specification 1.4 in Karaf 4.2.8? > > > Or will the Log Service Specification 1.4 rely on some Core R7 > feature? > > > > > > Best regards, > > > Markus > > > > > > Am Fr., 20. Dez. 2019 um 14:29 Uhr schrieb Markus Rathgeb > <[email protected] <mailto:[email protected]>>: > > >> > > >> The "Equinox Common" can be used on Felix Framework using the > "Equinox > > >> Supplement" package that provides e.g. "org.eclipse.equinox.log". > > >> > > >> The Equinox Logger implements the Logger interface of the OSGi Log > > >> Service specification 1.4 > > >> > > https://github.com/eclipse/rt.equinox.framework/blob/63a9e1075ab029c5090a3d50cf52b82f052c62f6/bundles/org.eclipse.osgi/supplement/src/org/eclipse/equinox/log/Logger.java#L23 > > >> > > >> The "Equinox Supplement" does not usage version constraints at > all on > > >> its imports: > > >> > > https://github.com/eclipse/rt.equinox.framework/blob/63a9e1075ab029c5090a3d50cf52b82f052c62f6/bundles/org.eclipse.osgi/supplement/META-INF/MANIFEST.MF#L25 > > > > -- > > Jean-Baptiste Onofré > > [email protected] <mailto:[email protected]> > > http://blog.nanthrax.net > > Talend - http://www.talend.com > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
