Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 4852502

Browse files
authored
Update and weaken Log4J2 dependency (#2085)
* Use the more recent 2.15.0 as baseline * For the published package, express a provided dependency rather than actually pulling in Log4J2 ourselves
1 parent 5f9a0fa commit 4852502

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ subprojects {
166166
googleAuthVersion = '0.20.0'
167167
googleCloudBetaVersion = '0.100.0-beta'
168168
googleCloudGaVersion = '1.82.0'
169-
log4j2Version = '2.11.1'
169+
log4j2Version = '2.15.0'
170170
signalfxVersion = '0.0.48'
171171
springBoot2Version = '2.1.5.RELEASE'
172172
springBootVersion = '1.5.15.RELEASE'

contrib/log_correlation/log4j2/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ description = 'OpenCensus Log4j 2 Log Correlation'
33
apply plugin: 'java'
44

55
dependencies {
6-
compile project(':opencensus-api'),
7-
libraries.log4j2
6+
compile project(':opencensus-api')
7+
compileOnly libraries.log4j2
88

9-
testCompile libraries.guava
9+
testCompile libraries.guava,
10+
libraries.log4j2
1011

1112
signature "org.codehaus.mojo.signature:java16:+@signature"
1213
}

0 commit comments

Comments
 (0)