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

相关推荐
罗曼蒂克在消亡6 天前
JDK——java.util.function
java·jdk
高高要努力8 天前
SpringBoot日志集成-LogBack
spring boot·后端·logback
汪小哥9 天前
浅谈spring 后端项目配置logback日志
java·spring·logback
coldstarry10 天前
sheng的学习笔记-logback
spring cloud·logback
没有名字的小羊11 天前
云服务器(华为云)安装java环境。
jdk·华为云
Flying_Fish_roe11 天前
Logback日志上下文
网络协议·rpc·logback
Flying_Fish_roe11 天前
Logback 与 Log4j 2 的对比
单元测试·log4j·logback
程序猿小D17 天前
第二百三十五节 JPA教程 - JPA Lob列示例
java·数据库·windows·oracle·jdk·jpa
Grey Zeng18 天前
Java SE 23 新增特性
java·jdk·jdk新特性·jdk23
后端小张19 天前
System.out源码解读——err 和 out 一起用导致的顺序异常Bug
java·开发语言·jdk·bug