From 06aa679e95246dc57a7f6af0c2b1481ad78299c9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 14 Jul 2008 13:31:42 -0700 Subject: [PATCH] rconn: Log when a connection attempt starts. This makes it easier to see what happened by viewing the log. --- lib/rconn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rconn.c b/lib/rconn.c index 1668ad99..db21b6c5 100644 --- a/lib/rconn.c +++ b/lib/rconn.c @@ -132,6 +132,7 @@ rconn_run(struct rconn *rc) if (rc->reliable && time(0) >= rc->backoff_deadline) { int retval; + VLOG_WARN("%s: connecting...", rc->name); retval = vconn_open(rc->name, &rc->vconn); if (!retval) { rc->backoff_deadline = time(0) + rc->backoff; -- 2.30.2