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-Tag: v1.1.1~24 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=b222407f24d79c8394093855cdb1890e879435dd 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 aa971f2a8..9c814ea9f 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; }