stream-unix: Reduce connection failure log level from ERR to WARN.
authorBen Pfaff <blp@nicira.com>
Mon, 17 Sep 2012 16:09:30 +0000 (09:09 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 17 Sep 2012 16:58:30 +0000 (09:58 -0700)
Sometimes this just means that the daemon we're connecting to is
restarting.

Bug #13177.
Reported-by: Scott Hendricks <shendricks@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/stream-unix.c

index 689dcf1cfaaeba79abf825b405f71927eb21be24..dde599683e2aa4fc0bc37420e87b006de32bc903 100644 (file)
@@ -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;
     }