Skip to content

Commit f89ca6e

Browse files
committed
Log native build output to stdout
We are going back to how it worked before David's patch to move to SmallRye Common Process. I see no good reason to change that, at least not without a discussion. Fixes #49452 (cherry picked from commit 895b7e1)
1 parent 0671d8b commit f89ca6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void build(List<String> args, String nativeImageName, String resultingExe
7070
Runtime.getRuntime().removeShutdownHook(hook);
7171
}
7272
})
73-
.output().consumeLinesWith(8192, log::info)
73+
.output().consumeLinesWith(8192, System.out::println)
7474
// Why logOnSuccess(false) and then consumeWith? Because we get the stdErr twice otherwise.
7575
.error().logOnSuccess(false)
7676
.consumeWith(br -> new ErrorReplacingProcessReader(br, outputDir.resolve("reports").toFile()).run())

0 commit comments

Comments
 (0)