Skip to content

Commit 4e03e27

Browse files
committed
Bump logging versions
Change-Id: I6eeb3e80a641b6fa9536604d455001098b20fc03
1 parent e30eaf3 commit 4e03e27

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

build.gradle

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,13 @@ project(':cruise-control-core') {
181181

182182
dependencies {
183183
configurations.all {
184+
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
184185
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
185186
exclude group: 'log4j', module: 'log4j'
186187
exclude group: 'ch.qos.logback'
187188
}
188-
implementation "org.slf4j:slf4j-api:1.7.36"
189-
implementation "org.apache.logging.log4j:log4j-slf4j-impl:2.17.2"
189+
implementation "org.slf4j:slf4j-api:2.0.17"
190+
implementation "org.apache.logging.log4j:log4j-slf4j2-impl:2.25.0"
190191
implementation 'org.apache.commons:commons-math3:3.6.1'
191192
api "org.eclipse.jetty:jetty-servlet:${jettyVersion}"
192193

@@ -279,15 +280,16 @@ project(':cruise-control') {
279280

280281
dependencies {
281282
configurations.all {
283+
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
282284
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
283285
exclude group: 'log4j', module: 'log4j'
284286
exclude group: 'ch.qos.logback'
285287
}
286288

287289
api project(':cruise-control-metrics-reporter')
288290
api project(':cruise-control-core')
289-
implementation "org.slf4j:slf4j-api:1.7.36"
290-
implementation "org.apache.logging.log4j:log4j-slf4j-impl:2.17.2"
291+
implementation "org.slf4j:slf4j-api:2.0.17"
292+
implementation "org.apache.logging.log4j:log4j-slf4j2-impl:2.25.0"
291293
implementation "io.netty:netty-handler:${nettyVersion}"
292294
implementation "io.netty:netty-transport-native-epoll:${nettyVersion}"
293295
api "org.apache.kafka:kafka_$scalaBinaryVersion:$kafkaVersion"
@@ -363,7 +365,7 @@ project(':cruise-control') {
363365

364366
tasks.create(name: "copyDependantLibs", type: Copy) {
365367
from (configurations.testRuntimeClasspath) {
366-
include('log4j-slf4j-impl*')
368+
include('log4j-slf4j2-impl*')
367369
}
368370
from (configurations.runtimeClasspath) {
369371

@@ -458,14 +460,15 @@ project(':cruise-control-metrics-reporter') {
458460

459461
dependencies {
460462
configurations.all {
463+
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
461464
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
462465
exclude group: 'log4j', module: 'log4j'
463466
exclude group: 'ch.qos.logback'
464467
}
465468

466-
implementation "org.slf4j:slf4j-api:1.7.36"
469+
implementation "org.slf4j:slf4j-api:2.0.17"
467470
implementation "com.yammer.metrics:metrics-core:2.2.0"
468-
implementation "org.apache.logging.log4j:log4j-slf4j-impl:2.17.2"
471+
implementation "org.apache.logging.log4j:log4j-slf4j2-impl:2.25.0"
469472
implementation "org.apache.kafka:kafka_$scalaBinaryVersion:$kafkaVersion"
470473
implementation "org.apache.kafka:kafka-server:$kafkaVersion"
471474
implementation "org.apache.kafka:kafka-clients:$kafkaVersion"

0 commit comments

Comments
 (0)