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 | |

相关推荐
LINgZone210 天前
日志系统 — SLF4J + Logback + TLog 链路追踪与 AOP 操作日志
logback
净重21克12 天前
万字长文!JDK 1.6~11 TLS协议升级全攻略
jdk·springboot
技术小结-李爽13 天前
【框架】日志-SLF4J+Logback
logback
gugucoding13 天前
57. 【Java】日志框架:SLF4J与Logback
java·开发语言·logback
山甫aa14 天前
日志技术 Logback + Slf4j —— 从零开始的 Web 后端学习
java·后端·学习·web·logback
gis开发之家20 天前
日志怎么打才专业?Spring Boot 4 日志体系与 Logback 配置(生产级实战)
java·spring boot·后端·logback
空空潍20 天前
JDK21安装指南:从下载到环境配置全解析
java·jdk·下载
Web Security Loop23 天前
MAC卸载JDK环境
java·macos·jdk
带刺的坐椅1 个月前
Solon 的日志设计哲学:不只是用 SLF4J 做统一门面
java·logback·solon·log4j2
空谷有来人1 个月前
Ubuntu22.04安装jdk17,配置环境变量
java·jdk