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

相关推荐
枣伊吕波1 天前
第十五节:第六部分:日志技术:logback的核心配置文件详解、日志级别
logback
再见晴天*_*2 天前
logback 日志不打印
java·服务器·logback
hi星尘13 天前
Spring Boot + Logback MDC 深度解析:实现全链路日志追踪
spring boot·后端·logback
还是鼠鼠13 天前
日志技术-Logback入门程序
java·后端·spring·springboot·logback
棠棠的cafe13 天前
Logback示例解析
java·后端·logback
蚰蜒螟14 天前
Spring与SLF4J/Logback日志框架深度解析:从源码看日志系统设计
java·spring·logback
棠棠的cafe16 天前
在spring boot中使用Logback
java·logback
智_永无止境16 天前
集合的处理:JDK和Guava孰强孰弱?
java·jdk·集合·guava
Dkodak23 天前
Could not initialize Logback logging from classpath:logback-spring.xml
xml·spring·logback
叶 落25 天前
ubuntu 安装 JDK8
java·ubuntu·jdk·安装·java8