mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-23 01:20:44 -05:00
Comprehensive log for the LoggingDistTest and Quarkus IT (#26199)
Closes #26198 Signed-off-by: Martin Bartoš <mabartos@redhat.com>
This commit is contained in:
+3
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user