Skip to content

Commit 788ec71

Browse files
committed
Port log4j-docker changes from 2.x
1 parent ca6f923 commit 788ec71

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

log4j-docker/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@
2323
<version>${revision}</version>
2424
<relativePath>../log4j-parent</relativePath>
2525
</parent>
26-
2726
<artifactId>log4j-docker</artifactId>
2827
<packaging>jar</packaging>
2928
<name>Apache Log4j Docker Library</name>
3029
<description>Apache Log4j Docker Support</description>
3130
<properties>
32-
<log4jParentDir>${basedir}/..</log4jParentDir>
3331

3432
<!--
3533
~ OSGi and JPMS options
@@ -89,4 +87,5 @@
8987

9088
</plugins>
9189
</build>
90+
9291
</project>

log4j-docker/src/main/java/org/apache/logging/log4j/docker/DockerLookup.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public DockerLookup() {
6363
Container current = null;
6464
try {
6565
final URL url = new URL(baseUri + "/containers/json");
66-
6766
if (url.getProtocol().equals(HTTP)) {
6867
final String macAddr = NetUtils.getMacAddressString();
6968
final ObjectMapper objectMapper = new ObjectMapper();

0 commit comments

Comments
 (0)