Skip to content

Commit

Permalink
[#8986] Bump log4j from 2.17.1 to 2.17.2
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Jun 29, 2022
1 parent 6a2eeaa commit e649d81
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 29 deletions.
1 change: 0 additions & 1 deletion agent-testweb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<jdk.home>${env.JAVA_8_HOME}</jdk.home>

<javax.servlet.version>${javax.servlet4.version}</javax.servlet.version>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>

<spring-boot-build-skip>false</spring-boot-build-skip>
<pinpoint.plugintest.executable.name>${project.artifactId}-boot-${project.version}</pinpoint.plugintest.executable.name>
Expand Down
1 change: 0 additions & 1 deletion batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>

<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
<thrift.version>${thrift-jdk8.version}</thrift.version>

<pinpoint.batch.executable.name>${project.artifactId}-${project.version}</pinpoint.batch.executable.name>
Expand Down
1 change: 0 additions & 1 deletion collector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<jdk.home>${env.JAVA_11_HOME}</jdk.home>

<javax.servlet.version>${javax.servlet4.version}</javax.servlet.version>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
<thrift.version>${thrift-jdk8.version}</thrift.version>

<pinpoint.collector.executable.name>${project.artifactId}-boot-${project.version}</pinpoint.collector.executable.name>
Expand Down
2 changes: 0 additions & 2 deletions commons-hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
<properties>
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>

<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
</properties>

<dependencies>
Expand Down
2 changes: 0 additions & 2 deletions commons-server-cluster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>
<test.jdk.home>${jdk.home}</test.jdk.home>

<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
</properties>

<dependencies>
Expand Down
1 change: 0 additions & 1 deletion commons-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<jdk.home>${env.JAVA_11_HOME}</jdk.home>
<test.jdk.home>${jdk.home}</test.jdk.home>

<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
</properties>

<dependencies>
Expand Down
1 change: 0 additions & 1 deletion flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>

<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
<thrift.version>${thrift-jdk8.version}</thrift.version>
</properties>

Expand Down
2 changes: 0 additions & 2 deletions hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
<properties>
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>

<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
</properties>

<modules>
Expand Down
1 change: 0 additions & 1 deletion hbase2-module/hbase2-batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<properties>
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>

<pinpoint.batch.executable.name>${project.artifactId}-${project.version}</pinpoint.batch.executable.name>
</properties>
Expand Down
1 change: 0 additions & 1 deletion hbase2-module/hbase2-collector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<jdk.home>${env.JAVA_11_HOME}</jdk.home>

<javax.servlet.version>${javax.servlet4.version}</javax.servlet.version>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>

<pinpoint.collector.executable.name>${project.artifactId}-boot-${project.version}</pinpoint.collector.executable.name>
</properties>
Expand Down
1 change: 0 additions & 1 deletion hbase2-module/hbase2-flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
<properties>
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
</properties>

<dependencies>
Expand Down
1 change: 0 additions & 1 deletion hbase2-module/hbase2-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<frontend.build.dir>${basedir}/src/main/frontend</frontend.build.dir>

<javax.servlet.version>${javax.servlet4.version}</javax.servlet.version>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>

<pinpoint.web.executable.name>${project.artifactId}-boot-${project.version}</pinpoint.web.executable.name>
</properties>
Expand Down
1 change: 0 additions & 1 deletion metric-module/collector-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>
<javax.servlet.version>${javax.servlet4.version}</javax.servlet.version>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>

<pinpoint.collector.executable.name>${project.artifactId}-boot-${project.version}</pinpoint.collector.executable.name>
</properties>
Expand Down
1 change: 0 additions & 1 deletion metric-module/metric/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<properties>
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion metric-module/web-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<properties>
<jdk.version>11</jdk.version>
<jdk.home>${env.JAVA_11_HOME}</jdk.home>

<javax.servlet.version>${javax.servlet4.version}</javax.servlet.version>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>

<pinpoint.web.executable.name>${project.artifactId}-boot-${project.version}</pinpoint.web.executable.name>
</properties>
Expand Down
1 change: 0 additions & 1 deletion plugins-it/log4j2-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2-jdk7.version}</version>
<scope>test</scope>
</dependency>

Expand Down
1 change: 0 additions & 1 deletion plugins-it/log4j2-jdk8-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2-jdk8.version}</version>
<scope>test</scope>
</dependency>

Expand Down
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,7 @@
<spring.boot.version>2.5.12</spring.boot.version>

<slf4j.version>1.7.30</slf4j.version>
<!-- https://www.lunasec.io/docs/blog/log4j-zero-day/#who-is-impacted
Fix with message layout for jdk7 compatibility
Message layout : %m -> %m{nolookups}
-->
<log4j2-jdk7.version>2.12.4</log4j2-jdk7.version>
<log4j2-jdk8.version>2.17.1</log4j2-jdk8.version>
<log4j2.version>${log4j2-jdk7.version}</log4j2.version>
<log4j2.version>2.17.2</log4j2.version>
<!-- for plugin & hbase client -->
<log4j1.version>1.2.17</log4j1.version>

Expand Down
1 change: 0 additions & 1 deletion profiler-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j2-jdk7.version}</version>
<scope>compile</scope>
</dependency>

Expand Down
1 change: 0 additions & 1 deletion web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<build.frontend.skip>false</build.frontend.skip>

<javax.servlet.version>${javax.servlet4.version}</javax.servlet.version>
<log4j2.version>${log4j2-jdk8.version}</log4j2.version>
<thrift.version>${thrift-jdk8.version}</thrift.version>

<pinpoint.web.executable.name>${project.artifactId}-boot-${project.version}</pinpoint.web.executable.name>
Expand Down

0 comments on commit e649d81

Please # to comment.