From 11b59b0f81a1fbf501ffe889b84eb246f7548aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ller?= Date: Mon, 28 Oct 2024 09:10:32 +0100 Subject: [PATCH] Log missing directories at info level This should fix https://github.com/spotify/fmt-maven-plugin/issues/160 "Logging is too chatty at WARN level" --- src/main/java/com/spotify/fmt/AbstractFMT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/spotify/fmt/AbstractFMT.java b/src/main/java/com/spotify/fmt/AbstractFMT.java index e8730ee..f7c04f6 100644 --- a/src/main/java/com/spotify/fmt/AbstractFMT.java +++ b/src/main/java/com/spotify/fmt/AbstractFMT.java @@ -219,7 +219,7 @@ private void handleMissingDirectory(String directoryDisplayName, File directory) throw new MojoFailureException(message); } else { getLog() - .warn(directoryDisplayName + " directory '" + directory + "' does not exist, ignoring."); + .info(directoryDisplayName + " directory '" + directory + "' does not exist, ignoring."); } }