Comprehensive log for the LoggingDistTest and Quarkus IT (#26199)

Closes #26198

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
This commit is contained in:
Martin Bartoš
2024-01-15 17:44:00 +01:00
committed by GitHub
parent bf8e365349
commit b00ce8113e
@@ -48,10 +48,11 @@ import java.nio.file.Paths;
public class LoggingDistTest {
@Test
@Launch({ "start-dev", "--log-level=debug" })
@Launch({ "start-dev", "--log-level=warn" })
void testSetRootLevel(LaunchResult result) {
CLIResult cliResult = (CLIResult) result;
assertTrue(cliResult.getOutput().contains("DEBUG [io.netty.util.internal"));
assertFalse(cliResult.getOutput().contains("INFO [io.quarkus]"));
assertFalse(cliResult.getOutput().contains("Listening on:"));
cliResult.assertStartedDevMode();
}