mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-10-15 14:50:54 +00:00
Prompter prompt should not prepend the projectId when there's only one project, fixes #816
Also make sure the daemon prompter log only goes to the daemon log
This commit is contained in:
@@ -350,7 +350,10 @@ public class TerminalOutput implements ClientOutput {
|
||||
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) {
|
||||
|
@@ -36,6 +36,10 @@
|
||||
<appender-ref ref="DAEMON" />
|
||||
</logger>
|
||||
|
||||
<logger name="org.mvndaemon.mvnd.interactivity" level="DEBUG" additivity="false">
|
||||
<appender-ref ref="DAEMON" />
|
||||
</logger>
|
||||
|
||||
<logger name="Sisu" level="INFO" />
|
||||
|
||||
<!-- suppress annoying @threadSafe and checksum failure warning messages -->
|
||||
|
Reference in New Issue
Block a user