daemon: Reduce log level of "pid file is stale" message.
authorBen Pfaff <blp@nicira.com>
Tue, 5 Apr 2011 19:17:08 +0000 (12:17 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 19 Apr 2011 16:32:18 +0000 (09:32 -0700)
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

index aa971f2a8f8bd3822aad05940125fdec4e199686..9c814ea9fd9e61e9efe9913f790ebfd79d59577d 100644 (file)
@@ -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;
         }