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

相关推荐
EumenidesJ8 天前
Java常用日志框架介绍
java·log4j·logback·slf4j
蓝染yy11 天前
JDK 安装
java·jdk
躲在没风的地方17 天前
logback日志控制服务器日志输出
java·服务器·logback
岁岁岁平安19 天前
Linux中CentOS-7-x86_64:安装JDK1.8与启动部署Tomcat8.5.45(适合开发/测试环境)
linux·运维·jdk·centos·tomcat·centos7
ta叫我小白22 天前
Spring Boot 设置滚动日志logback
java·spring boot·spring·logback
代码的余温24 天前
Spring Boot集成Logback日志全攻略
xml·spring boot·logback
代码的余温25 天前
Logback.xml配置详解与实战指南
xml·logback
清风920025 天前
Logback——日志技术(基础)
java·前端·logback
代码的余温25 天前
MyBatis集成Logback日志全攻略
java·tomcat·mybatis·logback
秋千码途1 个月前
小架构step系列08:logback.xml的配置
xml·java·logback