Skip to content

Commit ea1ad34

Browse files
committed
mantle/kola: add max_level_console=debug for COSA_TESTISO_DEBUG
Otherwise only `info` level messages will go to the console of the machine. We were digging into a new instance of [1] and found that we weren't really getting debug messages on the console of the machine (which means no new clues as to why the tests are timing out). Turns out this is why we weren't getting those new debug messages we thought we would get. [1] coreos/fedora-coreos-tracker#1796
1 parent af1468c commit ea1ad34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mantle/platform/metal.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,9 @@ func renderInstallKargs(t *installerRun, offline bool) []string {
370370
// problematic. Let's add a hook here to enable more debugging.
371371
func renderCosaTestIsoDebugKargs() []string {
372372
if _, ok := os.LookupEnv("COSA_TESTISO_DEBUG"); ok {
373-
return []string{"systemd.log_color=0", "systemd.log_level=debug", "systemd.journald.forward_to_console=1"}
373+
return []string{"systemd.log_color=0", "systemd.log_level=debug",
374+
"systemd.journald.forward_to_console=1",
375+
"systemd.journald.max_level_console=debug"}
374376
} else {
375377
return []string{}
376378
}

0 commit comments

Comments
 (0)