From 0f39192ef6bc7b1c74cfaeb04ed21305996d67e9 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 16 Mar 2011 09:43:33 +0000 Subject: protocol/client: log enhancement Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346 --- xlators/protocol/client/src/client-callback.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'xlators/protocol/client/src/client-callback.c') diff --git a/xlators/protocol/client/src/client-callback.c b/xlators/protocol/client/src/client-callback.c index 947b43f50..bfc864112 100644 --- a/xlators/protocol/client/src/client-callback.c +++ b/xlators/protocol/client/src/client-callback.c @@ -28,19 +28,24 @@ int client_cbk_null (void *data) { + gf_log (THIS->name, GF_LOG_WARNING, + "this function should not be called"); return 0; } int client_cbk_fetchspec (void *data) { - gf_log ("", 1, "here i am"); + gf_log (THIS->name, GF_LOG_WARNING, + "this function should not be called"); return 0; } int client_cbk_ino_flush (void *data) { + gf_log (THIS->name, GF_LOG_WARNING, + "this function should not be called"); return 0; } -- cgit