Skip to content

Commit

Permalink
build: update slf4j from 1.x to 2.0.13, logback to 1.3.14 (#14016)
Browse files Browse the repository at this point in the history
Update slf4j to 2.x, logback to 1.3.14. This is a backward-compatible
change.


## slf4j
SLF4J API version 2.0.0 requires Java 8 and introduces a
backward-compatible fluent logging API. By backward-compatible, we mean
that existing logging frameworks do not have to be changed in order for
the user to benefit from the fluent logging API.

## logback
Version 1.3.x supports Java EE, while version 1.4.x supports Jakarta EE.
The two versions are feature identical.

Both 1.3.x and 1.4.x series require SLF4J 2.0.x or later.

The 1.3.x series requires Java 8 at runtime.

Result:

Fixes #14011

Signed-off-by: ZhangJian He <shoothzj@gmail.com>
  • Loading branch information
shoothzj committed Apr 30, 2024
1 parent ea6d93a commit b2060ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -145,7 +145,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
<version>2.0.13</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
Expand Down Expand Up @@ -231,7 +231,7 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.7</version>
<version>1.3.14</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -972,7 +972,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.30</version>
<version>2.0.13</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
Expand Down Expand Up @@ -1068,7 +1068,7 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.13</version>
<version>1.3.14</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit b2060ea

Please sign in to comment.