From: Ben Pfaff Date: Mon, 17 Sep 2012 16:09:30 +0000 (-0700) Subject: stream-unix: Reduce connection failure log level from ERR to WARN. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c146b2f86a917ef7a9eb3bb1475e0527dc7e91c3;p=openvswitch stream-unix: Reduce connection failure log level from ERR to WARN. Sometimes this just means that the daemon we're connecting to is restarting. Bug #13177. Reported-by: Scott Hendricks Signed-off-by: Ben Pfaff --- diff --git a/lib/stream-unix.c b/lib/stream-unix.c index 689dcf1c..dde59968 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; }