From: Zbigniew Jędrzejewski-Szmek Date: Mon, 8 Mar 2021 08:21:25 +0000 (+0100) Subject: oomd: "downgrade" level of message X-Git-Tag: v247.4~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b6a68adf236f99fde5329106013176915de245c;p=thirdparty%2Fsystemd.git oomd: "downgrade" level of message PID1 already logs about the service being started, so this line isn't necessary in normal use. Also, by the time it is emitted, the service has already signalled readiness, so let's not say "starting" but "started". (cherry picked from commit a19c1a4baaa1dadc80885e3ad41f19a6c6c450fd) --- diff --git a/src/oom/oomd.c b/src/oom/oomd.c index 8cf776ec0f5..9caa1267054 100644 --- a/src/oom/oomd.c +++ b/src/oom/oomd.c @@ -166,7 +166,7 @@ static int run(int argc, char *argv[]) { notify_msg = notify_start(NOTIFY_READY, NOTIFY_STOPPING); - log_info("systemd-oomd starting%s!", arg_dry_run ? " in dry run mode" : ""); + log_debug("systemd-oomd started%s.", arg_dry_run ? " in dry run mode" : ""); r = sd_event_loop(m->event); if (r < 0)