From 6d52dfb6646286f2dfd554dc008e96f9b13aade9 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 10 Sep 2010 20:24:07 +0000 Subject: logging: provide a API to print calling functions * logs 3 calling functions Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 1493 (log enhancement to print calling function..) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1493 --- libglusterfs/src/dict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libglusterfs/src/dict.c') diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index 897a5c394b3..7a47a57b893 100644 --- a/libglusterfs/src/dict.c +++ b/libglusterfs/src/dict.c @@ -322,8 +322,8 @@ dict_get (dict_t *this, data_pair_t *pair; if (!this || !key) { - gf_log ("dict", GF_LOG_TRACE, - "@this=%p key=%s", this, (key) ? key : "()"); + gf_log_callingfn ("dict", GF_LOG_DEBUG, + "@this=%p key=%s", this, (key) ? key : "()"); return NULL; } -- cgit