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

相关推荐
MinggeQingchun2 天前
Java - SpringBoot之logback设置日期分割并设置指定时间自动清除,Linux启动运行
logback
陈晨辰熟稳重5 天前
20241102-Windows 10上安装虚拟机VMware10.0.2、Hadoop3.3.6与jdk1.8.0
大数据·hadoop·windows·jdk·vmware·虚拟机·文件配置
时光不染。回忆不淡5 天前
JDK8---Stream流详解
java·jdk·intellij-idea
( •̀∀•́ )9206 天前
使用 Logback 的最佳实践:`logback.xml` 与 `logback-spring.xml` 的区别与用法
xml·spring·logback
IKun-bug8 天前
jmeter压测工具环境搭建(Linux、Mac)
jmeter·jdk·压力测试
白-胖-子9 天前
【原创分享】详述中间件的前世今生
运维·中间件·java-ee·jdk
一路奔跑131411 天前
logback日志脱敏后异步写入文件
logback·异步·日志脱敏
white camel12 天前
Java从入门到架构师_日志框架系列
java·logback·log4j2·日志·slf4j
wyh10611512 天前
01 springboot-整合日志(logback-config.xml)
xml·spring boot·logback
小萌新上大分12 天前
logback日志导入使用
java·开发语言·logback·日志·javaee·log·logback在测试中使用