[ovs-dev] [minor fixes 3/6] daemon: Reduce log level of "pid file is stale" message.

Ethan Jackson ethan at nicira.com
Mon Apr 18 18:05:55 UTC 2011


Looks Good.

Ethan

On Mon, Apr 11, 2011 at 11:01 AM, Ben Pfaff <blp at nicira.com> wrote:
> 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;
>         }
>
> --
> 1.7.1
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>



More information about the dev mailing list