From 14c622976bcc30bbd76e420dc220c005ea786135 Mon Sep 17 00:00:00 2001 From: Jeff Darcy Date: Wed, 8 Feb 2017 15:21:46 -0500 Subject: 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. Backport of: > Change-Id: If0766e2a80746bba586e67e6019ff7084d68b425 > Reviewed-on: https://review.gluster.org/16569 Change-Id: I65117e69427ce1d6a2490832c5c9ab57ee29004e Signed-off-by: Jeff Darcy Reviewed-on: https://review.gluster.org/16599 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Shyamsundar Ranganathan --- libglusterfs/src/gfdb/gfdb_data_store_types.h | 2 +- libglusterfs/src/gfdb/gfdb_sqlite3.c | 2 +- libglusterfs/src/graph.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libglusterfs') 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'", -- cgit