projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41630cf
)
jsonrpc: Suppress duplicate logging.
author
Ben Pfaff
<blp@nicira.com>
Fri, 11 Jun 2010 21:37:33 +0000
(14:37 -0700)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/lib/jsonrpc.c
b/lib/jsonrpc.c
index 13ec4257d573477e1f8aca1c10da7e7537f6de66..d06cdcd1ee6a6efe9d8a9a28249fe306be5aa7ef 100644
(file)
--- 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;
}