summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-10-18 04:22:47 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-24 22:43:10 -0700
commit14d2ed37a966a10d8553e8b5a5283d35f9addc7e (patch)
treec33947b22e0dbe32c3caa0904ed2228ad81822bc /xlators/protocol/server/src/server.c
parent41b14258c08a0065c573a2ec9f39fb3354fd9be3 (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/server/src/server.c')
-rw-r--r--xlators/protocol/server/src/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index 2ff5cf5a94f..1d190c6baf7 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;