From 1be86c857aab2b6d1c2c4140570b637585fe6950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Fri, 8 Jun 2018 12:21:48 +0200 Subject: [PATCH] systemd: Change log level of message about running dracut MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the log level of the message about running dracut to CONSOLE. It is an important message which should always be logged. It informs the user that they may be required to do something. Signed-off-by: Ondřej Lysoněk --- tuned/plugins/plugin_systemd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuned/plugins/plugin_systemd.py b/tuned/plugins/plugin_systemd.py index 472a800..f6857c5 100644 --- a/tuned/plugins/plugin_systemd.py +++ b/tuned/plugins/plugin_systemd.py @@ -99,7 +99,7 @@ class SystemdPlugin(base.Plugin): if full_rollback: log.info("removing '%s' systemd tuning previously added by Tuned" % consts.SYSTEMD_CPUAFFINITY_VAR) self._remove_systemd_tuning() - log.info("you may need to manualy run 'dracut -f' to update the systemd configuration in initrd image") + log.console("you may need to manualy run 'dracut -f' to update the systemd configuration in initrd image") # convert cpulist from systemd syntax to Tuned syntax and unpack it def _cpulist_convert_unpack(self, cpulist):