mirror of
https://github.com/systemd/systemd
synced 2024-10-01 13:55:20 +00:00
mkosi: Don't log debug logs to console
We have various tools that log directly to the console, as well as pid1 which logs directly to the console when running in a container. Let's make sure that we don't log debug messages to the console by default, but keep the behavior when running in CI.
This commit is contained in:
parent
9c5216bb9d
commit
8630fb6041
1
.github/workflows/mkosi.yml
vendored
1
.github/workflows/mkosi.yml
vendored
|
@ -112,6 +112,7 @@ jobs:
|
|||
tee mkosi.conf.d/99-ci.conf <<EOF
|
||||
[Host]
|
||||
KernelCommandLineExtra=systemd.unit=mkosi-check-and-shutdown.service
|
||||
systemd.log_level=debug
|
||||
systemd.journald.max_level_console=debug
|
||||
# udev's debug log output is very verbose, so up it to info in CI.
|
||||
udev.log_level=info
|
||||
|
|
|
@ -22,7 +22,7 @@ BuildSourcesEphemeral=yes
|
|||
@RuntimeSize=8G
|
||||
ToolsTreePackages=virtiofsd
|
||||
KernelCommandLineExtra=systemd.crash_shell
|
||||
systemd.log_level=debug
|
||||
systemd.log_level=debug,console:info
|
||||
systemd.log_ratelimit_kmsg=0
|
||||
systemd.journald.forward_to_console
|
||||
systemd.journald.max_level_console=warning
|
||||
|
|
Loading…
Reference in a new issue