summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.c
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2018-02-07 11:43:22 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-02-09 15:35:35 +0000
commit0806421ff2be104ed757610dc38c3b8e1d969cea (patch)
treee87164d7bff3895b407a17abd684619806ef588c /libglusterfs/src/dict.c
parentd69c21908026d68c6d7ca986463c6e7f06650849 (diff)
core: move logs which are only developer relevant to DEBUG level
Change-Id: I8b38e231b6160db8075f73773d4e7dc115a90d95 BUG: 1542829 Signed-off-by: Amar Tumballi <amarts@redhat.com>
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 d1a64c4a3a2..b4a97a9b68e 100644
--- a/libglusterfs/src/dict.c
+++ b/libglusterfs/src/dict.c
@@ -37,14 +37,14 @@ struct dict_cmp {
#define VALIDATE_DATA_AND_LOG(data, type, key, ret_val) do { \
if (!data || !data->data) { \
- gf_msg_callingfn ("dict", GF_LOG_WARNING, EINVAL, \
+ gf_msg_callingfn ("dict", GF_LOG_DEBUG, EINVAL, \
LG_MSG_INVALID_ARG, "data is NULL"); \
return ret_val; \
} \
/* Not of the asked type, or old version */ \
if ((data->data_type != type) && \
(data->data_type != GF_DATA_TYPE_STR_OLD)) { \
- gf_msg_callingfn ("dict", GF_LOG_INFO, EINVAL, \
+ gf_msg_callingfn ("dict", GF_LOG_DEBUG, EINVAL, \
LG_MSG_INVALID_ARG, \
"key %s, %s type asked, has %s type", \
key, data_type_name[type], \