From: Ben Pfaff Date: Tue, 5 Apr 2011 19:17:08 +0000 (-0700) Subject: daemon: Reduce log level of "pid file is stale" message. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3769425ffdc935588254dae9a4c31788846e2f;p=openvswitch daemon: Reduce log level of "pid file is stale" message. This message will appear repeatedly when ovs-vswitchd is running, if there is any stale pidfile in /var/run/openvswitch, because ovs-vswitchd reads all of the pidfiles in that directory periodically to update statistics. --- diff --git a/lib/daemon.c b/lib/daemon.c index aa971f2a..9c814ea9 100644 --- a/lib/daemon.c +++ b/lib/daemon.c @@ -554,7 +554,7 @@ read_pidfile__(const char *pidfile, bool delete_if_stale) * pidfile locked, and only that process has the right to unlink it. */ if (!delete_if_stale) { error = ESRCH; - VLOG_WARN("%s: pid file is stale", pidfile); + VLOG_DBG("%s: pid file is stale", pidfile); goto error; }