From b57802fcb7d565a2bddea48b2954e197ab323ba1 Mon Sep 17 00:00:00 2001 From: "Sampal, Yogesh" Date: Fri, 23 Feb 2024 19:30:54 +0530 Subject: [PATCH 1/2] Downgraded logback due to compatibility issues with springboot --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index bab2aa9..7ff3761 100644 --- a/build.gradle +++ b/build.gradle @@ -48,8 +48,8 @@ dependencies { implementation(group: 'org.glassfish.jersey.media', name: 'jersey-media-jaxb', version: '2.39') implementation(group: 'com.google.guava', name: 'guava', version: '31.1.0.jre-redhat-00005') implementation(group: 'org.slf4j', name: 'slf4j-api', version: '1.7.36') - implementation(group: 'ch.qos.logback', name: 'logback-core', version: '1.4.14') - implementation(group: 'ch.qos.logback', name: 'logback-classic', version: '1.4.14') + implementation(group: 'ch.qos.logback', name: 'logback-core', version: '1.2.11') + implementation(group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.11') implementation(group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.20.0') implementation(group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j', version: '2.20.0') implementation(group: 'com.sun.jersey.contribs', name: 'jersey-apache-client4', version: '1.19.4') From f36eb41ca411d41d8a9152e6b9f658712301160a Mon Sep 17 00:00:00 2001 From: "Sampal, Yogesh" Date: Sat, 24 Feb 2024 11:47:16 +0530 Subject: [PATCH 2/2] Added comment on why we can't upgrade to 1.3.x --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 7ff3761..2fa2ad6 100644 --- a/build.gradle +++ b/build.gradle @@ -48,6 +48,8 @@ dependencies { implementation(group: 'org.glassfish.jersey.media', name: 'jersey-media-jaxb', version: '2.39') implementation(group: 'com.google.guava', name: 'guava', version: '31.1.0.jre-redhat-00005') implementation(group: 'org.slf4j', name: 'slf4j-api', version: '1.7.36') + // Upgrading logback to 1.3.x & above has compatibility issues with spring-boot & will need spring-boot to be upgraded to 3.x + // https://github.com/spring-projects/spring-boot/issues/34708#issuecomment-1478581325 implementation(group: 'ch.qos.logback', name: 'logback-core', version: '1.2.11') implementation(group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.11') implementation(group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.20.0')