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

相关推荐
master-dragon19 小时前
java log相关:Log4J、Log4J2、LogBack,SLF4J
java·log4j·logback
刀鋒偏冷8 天前
SLF4J和LogBack
logback
慕斯-ing8 天前
SDK、JDK、JRE、JVM的区别
jvm·经验分享·jdk·sdk·jre
hhzz13 天前
Maven项目中settings.xml终极优化指南
java·jdk·maven
练习时长一年14 天前
logback-spring.xml 文件
xml·spring·logback
@蓝眼睛14 天前
mac的m3芯片安装JDK8、JDK17
macos·jdk
Faith-小浩浩17 天前
macos 多个版本的jdk
java·macos·jdk
buaa_czw1 个月前
JDK源码之String
jdk·源码