Version strategy
Logback 1.5.x supports the Jakarta EE (jakarta.*
namespace). Logback 1.3.x tailored for Java EE (javax.*
namespace ) is no longer actively maintained.
Logback version |
JDK |
Enterprise Edition |
SLF4J version |
1.5.x |
11 |
Jakarta EE (jakarta.* namespace) |
2.0 |
logback-core dependencies
Logback-core version |
Servlet-api version (optional) |
mail-api version (optional) |
1.5.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 |
2.0.x |
jakarta.servlet 5.0.0 |
10.x and 11.x |
11.x and 12.x |