mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-10-15 06:40: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();
|
readInput.writeLock().lock();
|
||||||
try {
|
try {
|
||||||
clearDisplay();
|
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();
|
terminal.flush();
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
while (true) {
|
while (true) {
|
||||||
|
@@ -36,6 +36,10 @@
|
|||||||
<appender-ref ref="DAEMON" />
|
<appender-ref ref="DAEMON" />
|
||||||
</logger>
|
</logger>
|
||||||
|
|
||||||
|
<logger name="org.mvndaemon.mvnd.interactivity" level="DEBUG" additivity="false">
|
||||||
|
<appender-ref ref="DAEMON" />
|
||||||
|
</logger>
|
||||||
|
|
||||||
<logger name="Sisu" level="INFO" />
|
<logger name="Sisu" level="INFO" />
|
||||||
|
|
||||||
<!-- suppress annoying @threadSafe and checksum failure warning messages -->
|
<!-- suppress annoying @threadSafe and checksum failure warning messages -->
|
||||||
|
Reference in New Issue
Block a user