]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Set kernel loglevel to INFO when running tests unattended
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 6 Dec 2024 14:13:16 +0000 (15:13 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 8 Dec 2024 11:55:43 +0000 (12:55 +0100)
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

index bf0fe80d44c75b25040824fbb530897576701a9d..c08f77043c436f52942593cbfd16a956d8cb009b 100755 (executable)
@@ -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 []