Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Václav Muzikář <[email protected]>
  • Loading branch information
vmuzikar committed Nov 29, 2024
1 parent 580d854 commit c619633
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ConfigValue getConfigValue(ConfigSourceInterceptorContext context) {
}

ConfigValue getConfigValue(String name, ConfigSourceInterceptorContext context) {
String from = getFrom(name);
String from = getFrom(getWildcardValue(name).orElse(null));

if (to != null && to.endsWith(OPTION_PART_SEPARATOR)) {
// in case mapping is based on prefixes instead of full property names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class LoggingDistTest {
@Test
@Launch({ "start-dev", "--log-level=warn" })
void testSetRootLevel(CLIResult cliResult) {
assertFalse(cliResult.getOutput().contains("INFO [io.quarkus]"));
assertFalse(cliResult.getOutput().contains("INFO [io.quarkus]"));
assertFalse(cliResult.getOutput().contains("Listening on:"));
cliResult.assertStartedDevMode();
}
Expand Down Expand Up @@ -226,8 +226,8 @@ void levelOffHandlers(CLIResult cliResult, RawDistRootPath path) {

// log contains DB migration status + build time logs
assertThat(output, not(containsString("DEBUG [org.hibernate")));
assertThat(output, not(containsString("INFO [org.keycloak")));
assertThat(output, not(containsString("INFO [io.quarkus")));
assertThat(output, not(containsString("INFO [org.keycloak")));
assertThat(output, not(containsString("INFO [io.quarkus")));

var fileLog = readDefaultFileLog(path);
assertThat(fileLog, notNullValue());
Expand All @@ -242,7 +242,7 @@ void categoryLogLevel(CLIResult cliResult) {
assertThat(output, containsString("DEBUG [org.hibernate"));
assertThat(output, not(containsString("TRACE [org.hibernate")));
assertThat(output, containsString("TRACE [org.keycloak"));
assertThat(output, not(containsString("INFO [io.quarkus")));
assertThat(output, not(containsString("INFO [io.quarkus")));
}

protected static String readDefaultFileLog(RawDistRootPath path) {
Expand Down

0 comments on commit c619633

Please sign in to comment.