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 689dcf1..dde5996 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;
     }