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

Commit

Permalink
Update and weaken Log4J2 dependency (#2085)
Browse files Browse the repository at this point in the history
* Use the more recent 2.15.0 as baseline
* For the published package, express a provided dependency
  rather than actually pulling in Log4J2 ourselves
  • Loading branch information
punya authored Dec 11, 2021
1 parent 5f9a0fa commit 4852502
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ subprojects {
googleAuthVersion = '0.20.0'
googleCloudBetaVersion = '0.100.0-beta'
googleCloudGaVersion = '1.82.0'
log4j2Version = '2.11.1'
log4j2Version = '2.15.0'
signalfxVersion = '0.0.48'
springBoot2Version = '2.1.5.RELEASE'
springBootVersion = '1.5.15.RELEASE'
Expand Down
7 changes: 4 additions & 3 deletions contrib/log_correlation/log4j2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ description = 'OpenCensus Log4j 2 Log Correlation'
apply plugin: 'java'

dependencies {
compile project(':opencensus-api'),
libraries.log4j2
compile project(':opencensus-api')
compileOnly libraries.log4j2

testCompile libraries.guava
testCompile libraries.guava,
libraries.log4j2

signature "org.codehaus.mojo.signature:java16:+@signature"
}
Expand Down

0 comments on commit 4852502

Please sign in to comment.