diff options
| author | Amar Tumballi <amarts@redhat.com> | 2018-02-07 11:43:22 +0530 | 
|---|---|---|
| committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-05-09 17:41:57 +0000 | 
| commit | c7e281fcb7fcabb13132ba3a3e7a1a784b020719 (patch) | |
| tree | ece20dbf93c295b1dacbbb2b65e525cb66ac246f | |
| parent | 641355a0fe5ae18d983ce91b46ecafd50d6eb5c1 (diff) | |
core: move logs which are only developer relevant to DEBUG level
Change-Id: I8b38e231b6160db8075f73773d4e7dc115a90d95
updates: bz#1542829
BUG: 1542829
Signed-off-by: Amar Tumballi <amarts@redhat.com>
| -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 | ||||
| -rw-r--r-- | rpc/xdr/src/glusterfs3.h | 2 | 
5 files changed, 6 insertions, 6 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index bd22477f2c4..1061a98577e 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 2d560b7f265..c5ec013755e 100644 --- a/libglusterfs/src/graph.c +++ b/libglusterfs/src/graph.c @@ -398,7 +398,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 f1ed9236f09..53bb4912882 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -329,7 +329,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 diff --git a/rpc/xdr/src/glusterfs3.h b/rpc/xdr/src/glusterfs3.h index 550b9a3ceb8..4f83856d27f 100644 --- a/rpc/xdr/src/glusterfs3.h +++ b/rpc/xdr/src/glusterfs3.h @@ -732,7 +732,7 @@ dict_to_xdr (dict_t *this, gfx_dict *dict)                                  dpair->value->len;                          /* Change this to INFO, after taking the above down */ -                        gf_msg ("dict", GF_LOG_INFO, EINVAL, +                        gf_msg ("dict", GF_LOG_DEBUG, EINVAL,                                  LG_MSG_DICT_SERIAL_FAILED,                                  "key '%s' is would not be sent on wire in future",                                  dpair->key);  | 
