diff --git a/pom.xml b/pom.xml index 5bc59d6..fd20e31 100644 --- a/pom.xml +++ b/pom.xml @@ -30,18 +30,19 @@ org.osgi - org.osgi.core - 6.0.0 + osgi.core + 7.0.0 provided org.osgi osgi.cmpn - 6.0.0 + 7.0.0 provided + diff --git a/src/main/java/io/cresco/logger/Activator.java b/src/main/java/io/cresco/logger/Activator.java index e481f0f..04b82dc 100644 --- a/src/main/java/io/cresco/logger/Activator.java +++ b/src/main/java/io/cresco/logger/Activator.java @@ -54,10 +54,15 @@ public void start( final BundleContext bundleContext ) osgiService = installInternalBundleJars(bundleContext,"org.osgi.service.cm-1.6.0.jar"); osgiService.start(); - loggerService = installInternalBundleJars(bundleContext,"pax-logging-service-1.10.4.jar"); - //Bundle loggerService = installInternalBundleJars(bundleContext,"pax-logging-service-1.11.3.jar"); - loggerAPI = installInternalBundleJars(bundleContext,"pax-logging-api-1.10.4.jar"); - //Bundle loggerAPI = installInternalBundleJars(bundleContext,"pax-logging-api-1.11.3.jar"); + + //loggerService = installInternalBundleJars(bundleContext,"pax-logging-service-1.11.17.jar"); + //loggerAPI = installInternalBundleJars(bundleContext,"pax-logging-api-1.11.17.jar"); + + //loggerService = installInternalBundleJars(bundleContext,"pax-logging-service-1.10.4.jar"); + //loggerAPI = installInternalBundleJars(bundleContext,"pax-logging-api-1.10.4.jar"); + loggerService = installInternalBundleJars(bundleContext,"pax-logging-log4j2-2.2.7.jar"); + loggerAPI = installInternalBundleJars(bundleContext,"pax-logging-api-2.2.7.jar"); + loggerService.start(); loggerAPI.start(); diff --git a/src/main/resources/pax-logging-api-2.2.7.jar b/src/main/resources/pax-logging-api-2.2.7.jar new file mode 100644 index 0000000..c3375ab Binary files /dev/null and b/src/main/resources/pax-logging-api-2.2.7.jar differ diff --git a/src/main/resources/pax-logging-log4j2-2.2.7.jar b/src/main/resources/pax-logging-log4j2-2.2.7.jar new file mode 100644 index 0000000..bdb1d84 Binary files /dev/null and b/src/main/resources/pax-logging-log4j2-2.2.7.jar differ