Skip to content

Commit

Permalink
[7.17] Upgrade to log4j 2.17.0 backport(#81902) #81924
Browse files Browse the repository at this point in the history
Backport of:

Upgrade to log4j 2.17.0 Upgrade to log4j 2.17.0 #81902
  • Loading branch information
pgomulka authored Dec 20, 2021
1 parent deeb762 commit 9fa5f52
Show file tree
Hide file tree
Showing 45 changed files with 27 additions and 23 deletions.
2 changes: 1 addition & 1 deletion build-tools-internal/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ snakeyaml = 1.26
icu4j = 62.1
supercsv = 2.4.0
# when updating log4j, please update also docs/java-api/index.asciidoc
log4j = 2.11.1
log4j = 2.17.0
slf4j = 1.6.2

jna = 5.10.0
Expand Down
3 changes: 2 additions & 1 deletion modules/repository-url/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ tasks.named("thirdPartyAudit").configure {
'javax.servlet.ServletContextListener',
'org.apache.avalon.framework.logger.Logger',
'org.apache.log.Hierarchy',
'org.apache.log.Logger'
'org.apache.log.Logger',
'javax.jms.Message'
)
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b
1 change: 1 addition & 0 deletions plugins/discovery-azure-classic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ tasks.named("dependencyLicenses").configure {

tasks.named("thirdPartyAudit").configure {
ignoreMissingClasses(
'javax.jms.Message',
'javax.servlet.ServletContextEvent',
'javax.servlet.ServletContextListener',
'org.apache.avalon.framework.logger.Logger',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b
1 change: 1 addition & 0 deletions plugins/discovery-ec2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ tasks.named("thirdPartyAudit").configure {
'software.amazon.ion.system.IonSystemBuilder',
'software.amazon.ion.system.IonTextWriterBuilder',
'software.amazon.ion.system.IonWriterBuilder',
'javax.jms.Message',
'javax.servlet.ServletContextEvent',
'javax.servlet.ServletContextListener',
'org.apache.avalon.framework.logger.Logger',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b
1 change: 1 addition & 0 deletions plugins/discovery-gce/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ tasks.named("thirdPartyAudit").configure {
// classes are missing
'com.google.common.base.Splitter',
'com.google.common.collect.Lists',
'javax.jms.Message',
'javax.servlet.ServletContextEvent',
'javax.servlet.ServletContextListener',
'org.apache.avalon.framework.logger.Logger',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b
1 change: 1 addition & 0 deletions plugins/repository-gcs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ tasks.named("thirdPartyAudit").configure {
'org.apache.http.protocol.HttpContext',
'org.apache.http.protocol.HttpProcessor',
'org.apache.http.protocol.HttpRequestExecutor',
'javax.jms.Message',
// commons-logging provided dependencies
'javax.servlet.ServletContextEvent',
'javax.servlet.ServletContextListener'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1ec25ce0254749c94549ea9c3cea34bd0488c9c6
1 change: 1 addition & 0 deletions plugins/repository-s3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ tasks.named("check").configure { dependsOn(s3ThirdPartyTest) }
tasks.named("thirdPartyAudit").configure {
ignoreMissingClasses(
// classes are missing
'javax.jms.Message',
'javax.servlet.ServletContextEvent',
'javax.servlet.ServletContextListener',
'org.apache.avalon.framework.logger.Logger',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b
2 changes: 0 additions & 2 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,11 @@ tasks.named("thirdPartyAudit").configure {
'org.apache.commons.compress.utils.IOUtils',
'org.apache.commons.csv.CSVFormat',
'org.apache.commons.csv.QuoteMode',
'org.apache.kafka.clients.producer.Callback',
'org.apache.kafka.clients.producer.KafkaProducer',
'org.apache.kafka.clients.producer.Producer',
'org.apache.kafka.clients.producer.ProducerRecord',
'org.apache.kafka.clients.producer.RecordMetadata',
'org.codehaus.stax2.XMLStreamWriter2',
'org.jctools.queues.MessagePassingQueue$Consumer',
'org.jctools.queues.MpscArrayQueue',
'org.osgi.framework.AdaptPermission',
'org.osgi.framework.AdminPermission',
Expand Down
1 change: 0 additions & 1 deletion server/licenses/log4j-api-2.11.1.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions server/licenses/log4j-api-2.17.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bbd791e9c8c9421e45337c4fe0a10851c086e36c
1 change: 0 additions & 1 deletion server/licenses/log4j-core-2.11.1.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions server/licenses/log4j-core-2.17.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fe6e7a32c1228884b9691a744f953a55d0dd8ead
1 change: 1 addition & 0 deletions x-pack/plugin/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ tasks.named("thirdPartyAudit").configure {
'org.apache.avalon.framework.logger.Logger',
'org.apache.log.Hierarchy',
'org.apache.log.Logger',
'javax.jms.Message',
//commons-logging provided dependencies
'javax.servlet.ServletContextEvent',
'javax.servlet.ServletContextListener'
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugin/core/licenses/log4j-1.2-api-2.11.1.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions x-pack/plugin/core/licenses/log4j-1.2-api-2.17.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1ec25ce0254749c94549ea9c3cea34bd0488c9c6

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1ec25ce0254749c94549ea9c3cea34bd0488c9c6
2 changes: 0 additions & 2 deletions x-pack/plugin/sql/sql-action/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,11 @@ tasks.named("thirdPartyAudit").configure {
'org.apache.commons.compress.utils.IOUtils',
'org.apache.commons.csv.CSVFormat',
'org.apache.commons.csv.QuoteMode',
'org.apache.kafka.clients.producer.Callback',
'org.apache.kafka.clients.producer.KafkaProducer',
'org.apache.kafka.clients.producer.Producer',
'org.apache.kafka.clients.producer.ProducerRecord',
'org.apache.kafka.clients.producer.RecordMetadata',
'org.codehaus.stax2.XMLStreamWriter2',
'org.jctools.queues.MessagePassingQueue$Consumer',
'org.jctools.queues.MpscArrayQueue',
'org.osgi.framework.AdaptPermission',
'org.osgi.framework.AdminPermission',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bbd791e9c8c9421e45337c4fe0a10851c086e36c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fe6e7a32c1228884b9691a744f953a55d0dd8ead

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1ec25ce0254749c94549ea9c3cea34bd0488c9c6
1 change: 1 addition & 0 deletions x-pack/snapshot-tool/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ tasks.named("thirdPartyAudit").configure {
ignoreMissingClasses(
'com.google.api.client.http.apache.v2.ApacheHttpTransport',
// classes are missing
'javax.jms.Message',
'javax.servlet.ServletContextEvent',
'javax.servlet.ServletContextListener',
'org.apache.avalon.framework.logger.Logger',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aaf998968370edf738322fb750fbda118055508b

0 comments on commit 9fa5f52

Please sign in to comment.