Skip to content

Commit 8f51cf6

Browse files
committed
test: Set kernel loglevel to INFO when running tests unattended
This makes sure all kernel log messages are logged to the console. This should be helpful during shutdown to detect possible issues with journald when the logs can't be written to the journal itself anymore but are written to kmsg.
1 parent d82a93f commit 8f51cf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration-test-wrapper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def main() -> None:
373373
'systemd.show_status=error',
374374
'systemd.crash_shell=0',
375375
'systemd.crash_action=poweroff',
376+
'loglevel=6',
376377
]
377378
if not sys.stderr.isatty()
378379
else []

0 commit comments

Comments
 (0)