Skip to content

Commit

Permalink
[MNG-8605] The log file should be appended to (#2137)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet authored Mar 4, 2025
1 parent 6197545 commit af4debc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
PrintStream printStream = new PrintStream(fos);
return new OutputChoice(printStream);
} catch (FileNotFoundException e) {
Expand Down

0 comments on commit af4debc

Please sign in to comment.