mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Expected to improve logging experience for libraries stuck with Log4J 1.2 logging.
This commit is contained in:
parent
9a4c0ea79c
commit
fafb7d3104
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,7 @@ String jrubyVersion = versionMap['jruby']['version']
|
|||
String jacksonVersion = versionMap['jackson']
|
||||
String jacksonDatabindVersion = versionMap['jackson-databind']
|
||||
|
||||
String log4jVersion = '2.13.3'
|
||||
String log4jVersion = '2.14.0'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@ -164,6 +164,8 @@ dependencies {
|
|||
runtimeOnly "org.apache.logging.log4j:log4j-jcl:${log4jVersion}"
|
||||
// for the log4j-jcl bridge to work commons-logging needs to be on the same class-path
|
||||
runtimeOnly 'commons-logging:commons-logging:1.2'
|
||||
// also handle libraries relying on log4j 1.x to redirect their logs
|
||||
runtimeOnly "org.apache.logging.log4j:log4j-1.2-api:${log4jVersion}"
|
||||
implementation('org.reflections:reflections:0.9.11') {
|
||||
exclude group: 'com.google.guava', module: 'guava'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue