From c146b2f86a917ef7a9eb3bb1475e0527dc7e91c3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 17 Sep 2012 09:09:30 -0700 Subject: [PATCH] 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 --- lib/stream-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stream-unix.c b/lib/stream-unix.c index 689dcf1cf..dde599683 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; } -- 2.43.0