Skip to content

Commit

Permalink
Merge pull request #33067 from snazy/launcher-log-level-info
Browse files Browse the repository at this point in the history
Add some hint to inspect the log-level when test-launch failed
  • Loading branch information
gsmet authored Jun 21, 2023
2 parents b718cd5 + 80f6ef5 commit f57c166
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ public CaptureListeningDataReader(Path processOutput, Duration waitTime, CountDo
@Override
public void run() {
if (!ensureProcessOutputFileExists()) {
unableToDetermineData("Log file '" + processOutput.toAbsolutePath() + "' was not created.");
unableToDetermineData("Log file '" + processOutput.toAbsolutePath() + "' was not created. "
+ "Check if the options quarkus.log.level and quarkus.log.file.level are at least INFO (or more verbose).");
return;
}

Expand Down Expand Up @@ -311,7 +312,8 @@ public void run() {
dataDetermined(null, null); // no http, all is null
} else {
unableToDetermineData("Waited " + waitTime.getSeconds() + " seconds for " + processOutput
+ " to contain info about the listening port and protocol but no such info was found");
+ " to contain info about the listening port and protocol but no such info was found. "
+ "Check if the options quarkus.log.level and quarkus.log.file.level are at least INFO (or more verbose).");
}
return;
}
Expand Down

0 comments on commit f57c166

Please sign in to comment.