Skip to content

Commit

Permalink
Upgrade log4j-core to version 2.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz authored and rbri committed Oct 18, 2023
1 parent 4e96c82 commit a7e224e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<httpcomponents.version>4.5.14</httpcomponents.version>
<jetty.version>9.4.53.v20231009</jetty.version>
<log4j.version>2.20.0</log4j.version>
<log4j.version>2.21.0</log4j.version>

<!-- As a property, as it is included in Checkstyle build -->
<checkstyle.version>9.3</checkstyle.version>
Expand Down Expand Up @@ -154,6 +154,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions src/test/resources/commons-logging.properties
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# This is just to override 'commons-logging.properties' in 'httpclient-4.2-test.jar' which disables all logging.

# Workaround for issue apache/logging-log4j2#1865
org.apache.commons.logging.LogFactory = org.apache.logging.log4j.jcl.LogFactoryImpl

0 comments on commit a7e224e

Please sign in to comment.