summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2019-01-31 11:30:27 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2019-02-04 14:47:13 +0000
commit0210aa3e2b405c16dda2b7d5be96f2cb79af08e8 (patch)
treee39adcbebbee955415943a6918355711663b1f3a /libglusterfs
parent5564d831bbf0e9ba276422fb3a3cef2bd4ac242f (diff)
core: move "dict is NULL" logs to DEBUG log level
Too many logs get printed if dict_ref() and dict_unref() are passed NULL pointer. fixes: bz#1671217 Change-Id: I18afd849d64318f68baa7b549ee310dac0e1e786 Signed-off-by: Milind Changire <mchangir@redhat.com>
Diffstat (limited to 'libglusterfs')
-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 d75ce11c016..563f560bc7a 100644
--- a/libglusterfs/src/dict.c
+++ b/libglusterfs/src/dict.c
@@ -742,7 +742,7 @@ dict_unref(dict_t *this)
uint64_t ref = 0;
if (!this) {
- gf_msg_callingfn("dict", GF_LOG_WARNING, EINVAL, LG_MSG_INVALID_ARG,
+ gf_msg_callingfn("dict", GF_LOG_DEBUG, EINVAL, LG_MSG_INVALID_ARG,
"dict is NULL");
return;
}
@@ -757,7 +757,7 @@ dict_t *
dict_ref(dict_t *this)
{
if (!this) {
- gf_msg_callingfn("dict", GF_LOG_WARNING, EINVAL, LG_MSG_INVALID_ARG,
+ gf_msg_callingfn("dict", GF_LOG_DEBUG, EINVAL, LG_MSG_INVALID_ARG,
"dict is NULL");
return NULL;
}