mirror of
https://github.com/systemd/systemd.git
synced 2024-12-21 13:34:21 +03:00
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.
(cherry picked from commit 8f51cf6981
)
This commit is contained in:
parent
e53881298b
commit
3258c268ad
@ -169,6 +169,7 @@ def main() -> None:
|
||||
'systemd.show_status=error',
|
||||
'systemd.crash_shell=0',
|
||||
'systemd.crash_action=poweroff',
|
||||
'loglevel=6',
|
||||
]
|
||||
if not sys.stderr.isatty()
|
||||
else []
|
||||
|
Loading…
Reference in New Issue
Block a user