diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java index d633979318..4451199d6b 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java @@ -66,6 +66,10 @@ public class BuildImageMojo extends AbstractPackagerMojo { private static final String BUILDPACK_JVM_VERSION_KEY = "BP_JVM_VERSION"; + static { + System.setProperty("org.slf4j.simpleLogger.log.org.apache.http.wire", "ERROR"); + } + /** * Directory containing the JAR. * @since 2.3.0