[ovs-dev] [PATCH] stream-unix: Reduce connection failure log level from ERR to WARN.

Ben Pfaff blp at nicira.com
Mon Sep 17 16:59:46 UTC 2012


Thanks, pushed to master and branch-1.8.

On Mon, Sep 17, 2012 at 10:00:51AM -0700, Justin Pettit wrote:
> Seems reasonable.
> 
> --Justin
> 
> 
> On Sep 17, 2012, at 9:09 AM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > Sometimes this just means that the daemon we're connecting to is
> > restarting.
> > 
> > Bug #13177.
> > Reported-by: Scott Hendricks <shendricks at nicira.com>
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> > ---
> > lib/stream-unix.c |    2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/lib/stream-unix.c b/lib/stream-unix.c
> > index 689dcf1..dde5996 100644
> > --- a/lib/stream-unix.c
> > +++ b/lib/stream-unix.c
> > @@ -48,7 +48,7 @@ unix_open(const char *name, char *suffix, struct stream **streamp,
> > 
> >     fd = make_unix_socket(SOCK_STREAM, true, NULL, connect_path);
> >     if (fd < 0) {
> > -        VLOG_ERR("%s: connection failed (%s)", connect_path, strerror(-fd));
> > +        VLOG_WARN("%s: connection failed (%s)", connect_path, strerror(-fd));
> >         return -fd;
> >     }
> > 
> > -- 
> > 1.7.2.5
> > 
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
> 



More information about the dev mailing list