diff options
| author | Amar Tumballi <amar@gluster.com> | 2010-09-09 02:03:15 +0000 | 
|---|---|---|
| committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-09 01:04:22 -0700 | 
| commit | eae063da57a47102d264f27395677262fb17dc75 (patch) | |
| tree | df4528c75e44af2a20719515a4ff50542d2dcf73 | |
| parent | 6faa7618225f6e5e8e43bf04dae05929c3c6453f (diff) | |
dict.c: fix a redundant log in DEBUG level
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
| -rw-r--r-- | libglusterfs/src/dict.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index f2528aeebda..f686857eeb4 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_DEBUG, -			"@this=%p @key=%p", this, key); +		gf_log ("dict", GF_LOG_TRACE, +			"@this=%p key=%s", this, (key) ? key : "()");  		return NULL;  	}  | 
