[ANN] Pax Logging 2.2.1 and 1.12.4 released

13 views
Skip to first unread message

Grzegorz Grzybek

unread,
Jan 9, 2023, 4:09:46 AM1/9/23
to OPS4J, ops4j-ann...@googlegroups.com, Karaf Dev
Hello

First - I've updated https://github.com/ops4j/org.ops4j.pax.logging#versions page which now marks only 2 versions as active. Here's more detailed explanation:
  • versions 1.9.x and 1.10.x are pre-refactoring versions without any real integration tests
  • version 1.11.x and 1.12.x are both based on OSGi CMPN Log service 1.3, but version 1.11.x includes Log4j1 backend. I've decided to keep and maintain only version 1.12.x, because we don't want to use Log4j1 backend anymore. The Log4j1 API is still available though. So please use 1.12.x for Felix 5.6 / Karaf 4.2
  • version 2.0.x (with Log4j1 backend) and 2.1.x (without Log4j1 backend) are based on OSGi CMPN Log service 1.4 and because Log service 1.5 is identical, I've decided to keep and maintain only version 2.2.x
The most important change in 1.12.4 and 2.2.1 is related to SLF4J 2.x API support. Actually the interfaces didn't change since version 1.7.x, but there was a change with discovery of logging backend. Instead of static org.slf4j.impl.StaticLoggerBinder, SLF4J 2 now relies on /META-INF/services/org.slf4j.spi.SLF4JServiceProvider which is now providing org.ops4j.pax.logging.slf4j.PaxLoggingSLF4JServiceProvider service.

From the API point of view nothing has changed except that pax-logging-api now exports `org.slf4j` package with version 2.0.6 (in addition to version 1.4, 1.5, 1.6 and 1.7). That's important for OSGi bundles compiled with maven-bundle-plugin (or bnd-maven-plugin) with default configuration which would generate this import header:

Import-Package: org.slf4j;version="[2.0,3.0)".

This would cause problems before Pax Logging 2.2.1 and 1.12.4.
kind regards
Grzegorz Grzybek

Grzegorz Grzybek

unread,
Feb 24, 2023, 3:12:52 AM2/24/23
to OPS4J, ops4j-ann...@googlegroups.com, Karaf Dev
Hello

After previous more important release of Pax Logging 2.2.1 and 1.12.4 where SLF4J 2.0 support was added, I'd like to announce minor releases where only Log4j2 version was upgraded to 2.20.0.

kind regards
Grzegorz Grzybek

Grzegorz Grzybek

unread,
Jul 25, 2023, 6:40:29 AM7/25/23
to OPS4J, ops4j-ann...@googlegroups.com, Karaf Dev
Hello

I'd like to announce minor releases of Pax Logging 1.12.6 (OSGi R6) and 2.2.3 (OSGi R8). These releases include minor version upgrades:
  • reload4j 1.2.25
  • Tomcat JULI 9.0.78
  • Logback 1.3.8
Also Pax Logging 2.2.3 contains a fix related to duplicate "{}" placeholder replacement (thanks Rastislav Papp for the report!)

The short release notes can be found using the following links:

Grzegorz Grzybek

unread,
Sep 15, 2023, 5:34:38 AM9/15/23
to OPS4J, ops4j-ann...@googlegroups.com, Karaf Dev
Hello

I'd like to announce minor releases of Pax Logging 1.12.7 (OSGi R6) and 2.2.4 (OSGi R8).

There's only one NPE fix in pax-logging-api bundle.

The short release notes can be found using the following links:

Grzegorz Grzybek

unread,
Oct 18, 2023, 6:50:06 AM10/18/23
to Karaf Dev, ops4j-ann...@googlegroups.com, OPS4J
Hello

I'd like to announce minor releases of Pax Logging 1.12.8 (OSGi R6) and 2.2.5 (OSGi R8).

The upgrades are:
  • Log4j2 2.21.0
  • Logback 1.3.11
And thanks to Wouter Born, pax-logging-log4j2 and pax-logging-logback source jars include source code of related Log4j2 / Logback libraries.

kind regards
Grzegorz Grzybek

Grzegorz Grzybek

unread,
Jan 9, 2024, 4:04:55 AMJan 9
to OPS4J, ops4j-ann...@googlegroups.com, Karaf Dev
Hello

I'd like to announce minor releases of Pax Logging 1.12.10 (OSGi R6) and 2.2.7 (OSGi R8).

The single upgrade Logback 1.3.14.

The release notes can be found using the following links:
Reply all
Reply to author
Forward
0 new messages