jsonrpc: Suppress duplicate logging.
authorBen Pfaff <blp@nicira.com>
Fri, 11 Jun 2010 21:37:33 +0000 (14:37 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 22 Jun 2010 18:49:56 +0000 (11:49 -0700)
Both jsonrpc and reconnect were logging ordinary connection closure.
There's no need for both to do it.

lib/jsonrpc.c

index 13ec4257d573477e1f8aca1c10da7e7537f6de66..d06cdcd1ee6a6efe9d8a9a28249fe306be5aa7ef 100644 (file)
@@ -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;
             }