From 940264f05942d87b852b2b7aa36bfc1d900cf899 Mon Sep 17 00:00:00 2001 From: Christoph Deppisch Date: Fri, 8 Nov 2024 10:06:09 +0100 Subject: [PATCH] chore: Improve JBang command logging level --- .../src/main/java/org/citrusframework/jbang/JBangSupport.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/connectors/citrus-jbang-connector/src/main/java/org/citrusframework/jbang/JBangSupport.java b/connectors/citrus-jbang-connector/src/main/java/org/citrusframework/jbang/JBangSupport.java index 77db4b013b..3cf0bf3996 100644 --- a/connectors/citrus-jbang-connector/src/main/java/org/citrusframework/jbang/JBangSupport.java +++ b/connectors/citrus-jbang-connector/src/main/java/org/citrusframework/jbang/JBangSupport.java @@ -346,7 +346,9 @@ private static String getSystemPropertyArgs(Map systemProperties */ private static ProcessAndOutput execute(List command, Map envVars) { try { - LOG.info("Executing JBang command: %s".formatted(String.join(" ", command))); + if (LOG.isDebugEnabled()) { + LOG.debug("Executing JBang command: %s".formatted(String.join(" ", command))); + } ProcessBuilder pBuilder = new ProcessBuilder(command) .redirectErrorStream(true);