diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2017-02-08 15:21:46 -0500 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2017-02-10 08:17:25 -0500 |
commit | 3ec11e0d2fbff4e8e8cbda0aac6d7b4603722e48 (patch) | |
tree | 642d8c625698e72158a33897f4d9b7a0fa9d2cc6 | |
parent | e02c418ebf2b25cbefc3de83b6fc84215e5917b7 (diff) |
libglusterfs+changetimerecorder: reduce log noise
The logging about translator options is so verbose that it
significantly slows down scalability tests - sometimes even to the
point where it induces timing-related failures. Quiet, please.
Change-Id: If0766e2a80746bba586e67e6019ff7084d68b425
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-on: https://review.gluster.org/16569
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
-rw-r--r-- | libglusterfs/src/gfdb/gfdb_data_store_types.h | 2 | ||||
-rw-r--r-- | libglusterfs/src/gfdb/gfdb_sqlite3.c | 2 | ||||
-rw-r--r-- | libglusterfs/src/graph.c | 2 | ||||
-rw-r--r-- | xlators/features/changetimerecorder/src/changetimerecorder.c | 2 | ||||
-rw-r--r-- | xlators/protocol/server/src/server.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/libglusterfs/src/gfdb/gfdb_data_store_types.h b/libglusterfs/src/gfdb/gfdb_data_store_types.h index 02b7aa0fd33..3add890b047 100644 --- a/libglusterfs/src/gfdb/gfdb_data_store_types.h +++ b/libglusterfs/src/gfdb/gfdb_data_store_types.h @@ -579,7 +579,7 @@ typedef struct gfdb_connection { data = dict_get (params_dict, param_key);\ if (!data) {\ str_value = _default_v;\ - gf_msg (comp_name, GF_LOG_WARNING, 0,\ + gf_msg (comp_name, GF_LOG_TRACE, 0,\ LG_MSG_GET_PARAM_FAILED, "Failed to retrieve "\ "%s from params.Assigning default value: %s",\ param_key, _default_v);\ diff --git a/libglusterfs/src/gfdb/gfdb_sqlite3.c b/libglusterfs/src/gfdb/gfdb_sqlite3.c index 4284ed9a69d..70e38855fde 100644 --- a/libglusterfs/src/gfdb/gfdb_sqlite3.c +++ b/libglusterfs/src/gfdb/gfdb_sqlite3.c @@ -1399,7 +1399,7 @@ gf_sqlite3_set_pragma (void *db_conn, char *pragma_key, char *pragma_value) gf_msg (GFDB_STR_SQLITE3, GF_LOG_ERROR, 0, LG_MSG_QUERY_FAILED, "Failed to get %s pragma", pragma_key); } else { - gf_msg (GFDB_STR_SQLITE3, GF_LOG_INFO, 0, 0, + gf_msg (GFDB_STR_SQLITE3, GF_LOG_TRACE, 0, 0, "Value set on DB %s : %s", pragma_key, db_pragma_value); } GF_FREE (db_pragma_value); diff --git a/libglusterfs/src/graph.c b/libglusterfs/src/graph.c index b090f8a3554..47f473a580f 100644 --- a/libglusterfs/src/graph.c +++ b/libglusterfs/src/graph.c @@ -261,7 +261,7 @@ gf_add_cmdline_options (glusterfs_graph_t *graph, cmd_args_t *cmd_args) cmd_option->key, cmd_option->value); if (ret == 0) { - gf_msg (trav->name, GF_LOG_INFO, 0, + gf_msg (trav->name, GF_LOG_TRACE, 0, LG_MSG_VOL_OPTION_ADD, "adding option '%s' for " "volume '%s' with value '%s'", diff --git a/xlators/features/changetimerecorder/src/changetimerecorder.c b/xlators/features/changetimerecorder/src/changetimerecorder.c index ffc4625626b..574b627a825 100644 --- a/xlators/features/changetimerecorder/src/changetimerecorder.c +++ b/xlators/features/changetimerecorder/src/changetimerecorder.c @@ -2097,7 +2097,7 @@ reconfigure (xlator_t *this, dict_t *options) priv = this->private; if (dict_get_str(options, "changetimerecorder.frequency", &temp_str)) { - gf_msg(this->name, GF_LOG_INFO, 0, CTR_MSG_SET, "set"); + gf_msg(this->name, GF_LOG_TRACE, 0, CTR_MSG_SET, "set"); } GF_OPTION_RECONF ("ctr-enabled", priv->enabled, options, diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 5be900a6db0..35bb80ef1a6 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -403,7 +403,7 @@ _check_for_auth_option (dict_t *d, char *k, data_t *v, goto out; if (strncmp(tail, "addr.", 5) != 0) { - gf_msg (xl->name, GF_LOG_INFO, 0, PS_MSG_SKIP_FORMAT_CHK, + gf_msg (xl->name, GF_LOG_TRACE, 0, PS_MSG_SKIP_FORMAT_CHK, "skip format check for non-addr auth option %s", k); goto out; } |