From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A95E01396D9 for ; Wed, 18 Oct 2017 23:09:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5255E0C11; Wed, 18 Oct 2017 23:09:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B46DCE0C11 for ; Wed, 18 Oct 2017 23:09:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DEBCF33BF0B for ; Wed, 18 Oct 2017 23:09:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3B07805 for ; Wed, 18 Oct 2017 23:09:56 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1508368070.35b1996704f6635bb29ea3604410e133209e6432.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/supervise-daemon.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 35b1996704f6635bb29ea3604410e133209e6432 X-VCS-Branch: master Date: Wed, 18 Oct 2017 23:09:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: caaf8f18-91a9-4312-b9e4-9440ad28f041 X-Archives-Hash: 034f445c5624172e6ffd92ea107d61d7 commit: 35b1996704f6635bb29ea3604410e133209e6432 Author: William Hubbs gmail com> AuthorDate: Wed Oct 18 23:07:50 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Oct 18 23:07:50 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=35b19967 supervise-daemon: elevate some log messages to warnings Prior to this change, we were logging unexpected terminations of daemons we were supervising at the info level. This change moves the logs to warnings. src/rc/supervise-daemon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c index a781ad9d..f1e8ea16 100644 --- a/src/rc/supervise-daemon.c +++ b/src/rc/supervise-daemon.c @@ -771,17 +771,17 @@ int main(int argc, char **argv) } else respawn_count++; if (respawn_count >= respawn_max) { - syslog(LOG_INFO, "respawned \"%s\" too many times, " + syslog(LOG_WARNING, "respawned \"%s\" too many times, " "exiting", exec); exiting = true; continue; } } if (WIFEXITED(i)) - syslog(LOG_INFO, "%s, pid %d, exited with return code %d", + syslog(LOG_WARNING, "%s, pid %d, exited with return code %d", exec, child_pid, WEXITSTATUS(i)); else if (WIFSIGNALED(i)) - syslog(LOG_INFO, "%s, pid %d, terminated by signal %d", + syslog(LOG_WARNING, "%s, pid %d, terminated by signal %d", exec, child_pid, WTERMSIG(i)); child_pid = fork(); if (child_pid == -1)