diff options
author | Rinku Kothiya <rkothiya@redhat.com> | 2019-02-14 10:49:58 +0000 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-03-05 02:50:02 +0000 |
commit | da10bbb060ca4dffc14f80ef67e34bd5ccd8cd6a (patch) | |
tree | 0de866f6c2af90433e46e0f285797f0a87f87d14 /libglusterfs/src/dict.c | |
parent | 35ac5ae13fcf517cedc58005e258142c2e4620ab (diff) |
core: fix volume heal to avoid "invalid argument"
This patch avoids printing of "invalid argument" unless
loglevel is set to GF_LOG_DEBUG.
fixes : bz#1654021
Change-Id: I0e3d43bc627526f696b12921081342ca9b4a5f84
fixes: bz#1654021
Signed-off-by: Rinku Kothiya <rkothiya@redhat.com>
Diffstat (limited to 'libglusterfs/src/dict.c')
-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 4cd1fcf5bc0..6b63b8f0e8b 100644 --- a/libglusterfs/src/dict.c +++ b/libglusterfs/src/dict.c @@ -537,7 +537,7 @@ data_t * dict_get(dict_t *this, char *key) { if (!this || !key) { - gf_msg_callingfn("dict", GF_LOG_INFO, EINVAL, LG_MSG_INVALID_ARG, + gf_msg_callingfn("dict", GF_LOG_DEBUG, EINVAL, LG_MSG_INVALID_ARG, "!this || key=%s", (key) ? key : "()"); return NULL; } @@ -552,7 +552,7 @@ dict_getn(dict_t *this, char *key, const int keylen) uint32_t hash; if (!this || !key) { - gf_msg_callingfn("dict", GF_LOG_INFO, EINVAL, LG_MSG_INVALID_ARG, + gf_msg_callingfn("dict", GF_LOG_DEBUG, EINVAL, LG_MSG_INVALID_ARG, "!this || key=%s", (key) ? key : "()"); return NULL; } |