[ovs-dev] [branch-1.1 20/34] daemon: Reduce log level of "pid file is stale" message.

Ben Pfaff blp at nicira.com
Fri Apr 29 21:56:51 UTC 2011

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.
 lib/daemon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/daemon.c b/lib/daemon.c
index aa971f2..9c814ea 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;

More information about the dev mailing list