summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2019-01-31 11:30:27 +0530
committerAmar Tumballi <amarts@redhat.com>2019-02-01 03:28:50 +0000
commit62a61c548d85d8c894907d7c43ef66c009a4757d (patch)
tree8d50bda2c9f6c5db2ab5ec57d81f74c9f7403102
parent2fb445babdd621b71676e40804fe98e95fc9084d (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#1671213 Change-Id: I18afd849d64318f68baa7b549ee310dac0e1e786 Signed-off-by: Milind Changire <mchangir@redhat.com>
-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 4f4ae3de64c..4cd1fcf5bc0 100644
--- a/libglusterfs/src/dict.c
+++ b/libglusterfs/src/dict.c
@@ -728,7 +728,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;
}
@@ -743,7 +743,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;
}