From: Ben Pfaff Date: Mon, 14 Jul 2008 20:31:42 +0000 (-0700) Subject: rconn: Log when a connection attempt starts. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06aa679e95246dc57a7f6af0c2b1481ad78299c9;p=openvswitch rconn: Log when a connection attempt starts. This makes it easier to see what happened by viewing the log. --- 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;