From: INSUN PYO Date: Fri, 19 Jan 2018 01:55:39 +0000 (+0900) Subject: reboot: change log level of reboot command from warning to debug X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=894fde5d46307698825632b195085cd55c5797ff;p=platform%2Fupstream%2Fsystemd.git reboot: change log level of reboot command from warning to debug To prevent the annoying warning messages below : "Failed to read reboot parameter file: No such file or directory" "SYSTEMD_LOG_LEVEL=debug reboot" command can see the original log. Signed-off-by: INSUN PYO Change-Id: I7bb619998bb2cce8959956f73f3dd62d48525c33 --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a979c50..fd91e79 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -7842,7 +7842,7 @@ static int halt_now(enum action a) { r = read_one_line_file("/run/systemd/reboot-param", ¶m); if (r < 0) - log_warning_errno(r, "Failed to read reboot parameter file: %m"); + log_debug_errno(r, "Failed to read reboot parameter file: %m"); if (!isempty(param)) { log_info("Rebooting with argument '%s'.", param);