From: Ben Pfaff Date: Fri, 11 Jun 2010 21:37:33 +0000 (-0700) Subject: jsonrpc: Suppress duplicate logging. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b801a597ddcaaa2bf03611ec88037a45f40355;p=openvswitch jsonrpc: Suppress duplicate logging. Both jsonrpc and reconnect were logging ordinary connection closure. There's no need for both to do it. --- diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c index 13ec4257..d06cdcd1 100644 --- a/lib/jsonrpc.c +++ b/lib/jsonrpc.c @@ -249,7 +249,6 @@ jsonrpc_recv(struct jsonrpc *rpc, struct jsonrpc_msg **msgp) return rpc->status; } } else if (retval == 0) { - VLOG_INFO_RL(&rl, "%s: connection closed", rpc->name); jsonrpc_error(rpc, EOF); return EOF; }