Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some hint to inspect the log-level when test-launch failed #33067

Merged
merged 1 commit into from
Jun 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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