[ovs-dev] [ovsdb-server logging 2/3] jsonrpc: Suppress duplicate logging.

Ben Pfaff blp at nicira.com
Fri Jun 11 21:48:01 UTC 2010


Both jsonrpc and reconnect were logging ordinary connection closure.
There's no need for both to do it.
---
 lib/jsonrpc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c
index 13ec425..d06cdcd 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;
             }
-- 
1.7.1





More information about the dev mailing list