summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-09-10 20:24:07 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-13 06:44:50 -0700
commit6d52dfb6646286f2dfd554dc008e96f9b13aade9 (patch)
tree0e167503e0987d728f3de931305ca18152808be4 /libglusterfs/src/dict.c
parentd0ee998f5c997cfdebd0b7ff4bcbc9b2ea74c1ff (diff)
logging: provide a API to print calling functions
* logs 3 calling functions Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1493 (log enhancement to print calling function..) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1493
Diffstat (limited to 'libglusterfs/src/dict.c')
-rw-r--r--libglusterfs/src/dict.c4
1 files changed, 2 insertions, 2 deletions
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;
}