diff options
author | Amar Tumballi <amar@gluster.com> | 2010-10-18 04:22:47 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-10-24 22:43:10 -0700 |
commit | 14d2ed37a966a10d8553e8b5a5283d35f9addc7e (patch) | |
tree | c33947b22e0dbe32c3caa0904ed2228ad81822bc /xlators/protocol | |
parent | 41b14258c08a0065c573a2ec9f39fb3354fd9be3 (diff) |
server: print information about disconnected client
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/protocol')
-rw-r--r-- | xlators/protocol/server/src/server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 2ff5cf5a9..1d190c6ba 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -427,6 +427,10 @@ server_rpc_notify (rpcsvc_t *rpc, void *xl, rpcsvc_event_t event, if (conn) server_connection_cleanup (this, conn); + gf_log (this->name, GF_LOG_INFO, + "disconnected connection from %s", + xprt->peerinfo.identifier); + list_del (&xprt->list); break; |