diff --git a/common/src/main/java/org/mvndaemon/mvnd/common/logging/TerminalOutput.java b/common/src/main/java/org/mvndaemon/mvnd/common/logging/TerminalOutput.java index 4e1ddc32b..5ca059d81 100644 --- a/common/src/main/java/org/mvndaemon/mvnd/common/logging/TerminalOutput.java +++ b/common/src/main/java/org/mvndaemon/mvnd/common/logging/TerminalOutput.java @@ -350,7 +350,10 @@ private boolean doAccept(Message entry) { readInput.writeLock().lock(); try { clearDisplay(); - terminal.writer().printf("[%s] %s", prompt.getProjectId(), prompt.getMessage()); + String msg = (maxThreads > 1) + ? String.format("[%s] %s", prompt.getProjectId(), prompt.getMessage()) + : prompt.getMessage(); + terminal.writer().print(msg); terminal.flush(); StringBuilder sb = new StringBuilder(); while (true) { diff --git a/dist/src/main/distro/mvn/conf/logging/logback-daemon.xml b/dist/src/main/distro/mvn/conf/logging/logback-daemon.xml index 3fa5f26da..97a6053be 100644 --- a/dist/src/main/distro/mvn/conf/logging/logback-daemon.xml +++ b/dist/src/main/distro/mvn/conf/logging/logback-daemon.xml @@ -36,6 +36,10 @@ + + + +