gnodet commented on code in PR #2137:
URL: https://github.com/apache/maven/pull/2137#discussion_r1979125258


##########
impl/maven-logging/src/main/java/org/apache/maven/slf4j/SimpleLoggerConfiguration.java:
##########
@@ -231,7 +231,7 @@ private static OutputChoice computeOutputChoice(String 
logFile, boolean cacheOut
             return new OutputChoice(cacheOutputStream ? 
OutputChoiceType.CACHED_SYS_OUT : OutputChoiceType.SYS_OUT);
         } else {
             try {
-                FileOutputStream fos = new FileOutputStream(logFile);
+                FileOutputStream fos = new FileOutputStream(logFile, true);

Review Comment:
   The problem I had was debugging a test in `mvnd` which runs Maven twice in a 
row.  It took me some time to find out why I only had the output of the second 
run in the log...
   No big deal though.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to