From 0b3769425ffdc935588254dae9a4c31788846e2f Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@nicira.com>
Date: Tue, 5 Apr 2011 12:17:08 -0700
Subject: [PATCH] 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.
---
 lib/daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
         }
 
-- 
2.30.2