Skip to content

Commit

Permalink
Fix log warning (open-metadata#13681)
Browse files Browse the repository at this point in the history
* Fixes Log4j2 performance warning

* Updte log4j version
  • Loading branch information
mohityadav766 authored Oct 23, 2023
1 parent 08d1747 commit b6b19b8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions openmetadata-shaded-deps/elasticsearch-dep/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@
<pattern>org.apache.lucene</pattern>
<shadedPattern>es.org.apache.lucene</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/9/org/apache/logging/log4j/</pattern>
<shadedPattern>org/apache/logging/log4j/</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down
4 changes: 4 additions & 0 deletions openmetadata-shaded-deps/opensearch-dep/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@
<pattern>org.apache.lucene</pattern>
<shadedPattern>os.org.apache.lucene</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/9/org/apache/logging/log4j/</pattern>
<shadedPattern>org/apache/logging/log4j/</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<httpclient.version>4.5.14</httpclient.version>
<!-- Upgrading to spring version 6.x requires Java 17 -->
<spring.version>5.3.28</spring.version>
<log4j.version>2.20.0</log4j.version>
<log4j.version>2.21.0</log4j.version>
<org.junit.jupiter.version>5.9.3</org.junit.jupiter.version>
<dropwizard-health.version>1.7.3</dropwizard-health.version>
<fernet.version>1.5.0</fernet.version>
Expand Down

0 comments on commit b6b19b8

Please sign in to comment.