Logback 1.3.x supports jdk1.8

https://logback.qos.ch/dependencies.html

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

|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|---|
| Copyright © 2023 QOS.ch Sarl (Switzerland) | Logo created by Lise Martins | |

相关推荐
KK溜了溜了7 小时前
JAVA-springboot log日志
java·spring boot·logback
JAVA坚守者15 小时前
2025最新Java日志框架深度解析:Log4j 2 vs Logback性能实测+企业级实战案例
性能优化·logback·log4j2·slf4j·结构化日志·企业级应用·java 日志框架
黑风风3 天前
Spring Cloud Gateway 中自定义验证码接口返回 404 的排查与解决
jdk
zeijiershuai9 天前
日志技术-LogBack、Logback快速入门、Logback配置文件、Logback日志级别
logback·日志技术
6269609 天前
【报错】Error attempting to get column ‘created_time‘ from result set.解决方法
java·jdk
程序猿_JOJO10 天前
List 源码翻译
java·数据结构·jdk·list
啥都想学的又啥都不会的研究生14 天前
log日志最佳实践
java·spring boot·后端·spring·junit·log4j·logback
diving deep15 天前
springboot集成日志配置文件
java·spring boot·后端·logback
悟能不能悟16 天前
Logback 在 Spring Boot 中的详细配置
java·spring boot·logback
spjhandsomeman20 天前
各个历史版本mysql/tomcat/Redis/Jdk/Apache/gitlab下载地址
java·redis·mysql·jdk·tomcat·gitlab