Skip to content

Commit

Permalink
Port log4j-docker changes from 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Jan 10, 2024
1 parent ca6f923 commit 788ec71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions log4j-docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@
<version>${revision}</version>
<relativePath>../log4j-parent</relativePath>
</parent>

<artifactId>log4j-docker</artifactId>
<packaging>jar</packaging>
<name>Apache Log4j Docker Library</name>
<description>Apache Log4j Docker Support</description>
<properties>
<log4jParentDir>${basedir}/..</log4jParentDir>

<!--
~ OSGi and JPMS options
Expand Down Expand Up @@ -89,4 +87,5 @@

</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public DockerLookup() {
Container current = null;
try {
final URL url = new URL(baseUri + "/containers/json");

if (url.getProtocol().equals(HTTP)) {
final String macAddr = NetUtils.getMacAddressString();
final ObjectMapper objectMapper = new ObjectMapper();
Expand Down

0 comments on commit 788ec71

Please sign in to comment.