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:
Daan De Meyer
2024-04-14 19:59:10 +02:00
parent 9c5216bb9d
commit 8630fb6041
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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