From 8f51cf69814fc59be0ee4a1a18e8cd068559409f Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 6 Dec 2024 15:13:16 +0100 Subject: [PATCH] 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. --- test/integration-test-wrapper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py index bf0fe80d44..c08f77043c 100755 --- a/test/integration-test-wrapper.py +++ b/test/integration-test-wrapper.py @@ -373,6 +373,7 @@ def main() -> None: 'systemd.show_status=error', 'systemd.crash_shell=0', 'systemd.crash_action=poweroff', + 'loglevel=6', ] if not sys.stderr.isatty() else []