Comprehensive log for the LoggingDistTest and Quarkus IT (#26199)
Closes #26198 Signed-off-by: Martin Bartoš <mabartos@redhat.com>
This commit is contained in:
parent
bf8e365349
commit
b00ce8113e
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue