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

相关推荐
Java后端的Ai之路8 天前
【JDK】-JDK 21 新特性内容
java·开发语言·后端·jdk·jdk21
acx匿8 天前
【Windows10 下 JDK17 环境变量配置超详细教程(ZIP 版)】
java·jdk
Java后端的Ai之路10 天前
【JDK】-JDK 11 新特性内容整理(很全面)
java·开发语言·后端·jdk
Y‍waiX‍‍‮‪‎⁠‌‫‎‌‫‬15 天前
CentOS7安装多版本jdk并切换jdk版本
java·jdk·centos
松树戈16 天前
【vfox教程】一、vfox在win系统下的安装与卸载
jdk·node.js·vfox
装不满的克莱因瓶16 天前
Java7新特性:try-with-resources写法
java·前端·javascript·jdk·新特性·jdk7
闻哥18 天前
ConcurrentHashMap 1.7 源码深度解析:分段锁的设计与实现
java·开发语言·jvm·spring boot·面试·jdk·hash
gb421528722 天前
springboot项目如何查看使用的是Logback还是Log4j2还是SLF4J?
spring boot·log4j·logback
猫头虎23 天前
多项目开发环境:如何使用update-alternatives管理多版本Java JDK?(Windows、Mac、Ubuntu)
java·windows·ubuntu·macos·jdk·jdk17·jdk21
gb421528724 天前
springboot项目中使用的Logback如何重写Logback获取error信息,获取到error信息后如何发送错误邮件
spring boot·后端·logback