mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-28 08:47:29 +00:00
@@ -394,7 +394,7 @@ public class DaemonMavenCli {
|
||||
|
||||
// redirect stdout and stderr to file
|
||||
try {
|
||||
PrintStream ps = new PrintStream(new FileOutputStream(logFile));
|
||||
PrintStream ps = new PrintStream(new FileOutputStream(logFile), true);
|
||||
System.setOut(ps);
|
||||
System.setErr(ps);
|
||||
} catch (FileNotFoundException e) {
|
||||
|
@@ -78,7 +78,7 @@ public class LoggingOutputStream extends FilterOutputStream {
|
||||
|
||||
public static class LoggingPrintStream extends PrintStream {
|
||||
public LoggingPrintStream(LoggingOutputStream out) {
|
||||
super(out);
|
||||
super(out, true);
|
||||
}
|
||||
|
||||
public void forceFlush() {
|
||||
|
Reference in New Issue
Block a user