Version strategy
Logback 1.3.x supports the Java EE edition whereas logback 1.4.x supports Jakarta EE, otherwise the two versions are feature identical.
Given that downstream users are likely to depend on either Java EE or (in the javax namespace) or on Jakarta EE (in the jakarta namespace) in their projects, it was deemed important for logback to support both alternatives.
As such, logback 1.3.x supports the Java EE edition whereas logback 1.4.x supports Jakarta EE, otherwise the two versions are feature identical. Here is a summary of the differences:
Logback version | JDK | Enterprise Edition | SLF4J version |
---|---|---|---|
1.3.x | 8 | Java EE (javax.* namespace) | 2.0 |
1.4.x | 11 | Jakarta EE (jakarta.* namespace) | 2.0 |
logback-core dependencies
Logback-core version | Servlet-api version (optional) | mail-api version (optional) |
---|---|---|
1.3.x | javax.servlet 4.0.1 | javax.mail 1.6.2 |
1.4.x | jakarta.servlet 5.0.0 | jakarta.mail 2.0.1 |
logback-classic dependencies
Same as logback-core.
logback-access dependencies
Logback-access version | Servlet-api version | Tomcat version | Jetty Version |
---|---|---|---|
1.3.x | javax.servlet 4.0.1 | 9.0.65 | 9.4.48.v20220622 |
1.4.x | jakarta.servlet 5.0.0 | 10.0.10 | 11.0.6 |