diff options
author | Amar Tumballi <amarts@redhat.com> | 2018-02-07 11:43:22 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-02-09 15:35:35 +0000 |
commit | 0806421ff2be104ed757610dc38c3b8e1d969cea (patch) | |
tree | e87164d7bff3895b407a17abd684619806ef588c /libglusterfs | |
parent | d69c21908026d68c6d7ca986463c6e7f06650849 (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')
-rw-r--r-- | libglusterfs/src/dict.c | 4 | ||||
-rw-r--r-- | libglusterfs/src/graph.c | 2 | ||||
-rw-r--r-- | libglusterfs/src/options.c | 2 | ||||
-rw-r--r-- | libglusterfs/src/xlator.c | 2 |
4 files changed, 5 insertions, 5 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], \ diff --git a/libglusterfs/src/graph.c b/libglusterfs/src/graph.c index 738cd9688db..93dfc74338b 100644 --- a/libglusterfs/src/graph.c +++ b/libglusterfs/src/graph.c @@ -358,7 +358,7 @@ _log_if_unknown_option (dict_t *dict, char *key, data_t *value, void *data) found = xlator_volume_option_get (xl, key); if (!found) { - gf_msg (xl->name, GF_LOG_WARNING, 0, + gf_msg (xl->name, GF_LOG_DEBUG, 0, LG_MSG_XLATOR_OPTION_INVALID, "option '%s' is not recognized", key); } diff --git a/libglusterfs/src/options.c b/libglusterfs/src/options.c index a0f04c772e8..ae32001fd0e 100644 --- a/libglusterfs/src/options.c +++ b/libglusterfs/src/options.c @@ -990,7 +990,7 @@ xl_opt_validate (dict_t *dict, char *key, data_t *value, void *data) stub->errstr = errstr; if (fnmatch (opt->key[0], key, FNM_NOESCAPE) != 0) { - gf_msg (xl->name, GF_LOG_WARNING, 0, LG_MSG_INVALID_ENTRY, + gf_msg (xl->name, GF_LOG_DEBUG, 0, LG_MSG_INVALID_ENTRY, "option '%s' is deprecated, preferred is '%s', " "continuing with correction", key, opt->key[0]); dict_set (dict, opt->key[0], value); diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index b060d393730..9720f632b43 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -317,7 +317,7 @@ int xlator_dynload_newway (xlator_t *xl) xlapi = dlsym (handle, "xlator_api"); if (!xlapi) { - gf_msg ("xlator", GF_LOG_INFO, 0, LG_MSG_DLSYM_ERROR, + gf_msg ("xlator", GF_LOG_DEBUG, 0, LG_MSG_DLSYM_ERROR, "dlsym(xlator_api) on %s. " "Fall back to old symbols", dlerror ()); /* This case is not an error for now, so allow it |