From f6ce5dda438a848a681bb028e8e5b637583f0f7a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 27 Dec 2012 13:27:46 -0800 Subject: [PATCH] rgw: disable ops and usage logging by default Most users don't need this, and having it on will just fill their clusters with objects that will need to be cleaned up later. Signed-off-by: Sage Weil Reviewed-by: Yehuda Sadeh --- src/common/config_opts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 55db517b055e8..fed0f491a3f5c 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -469,8 +469,8 @@ OPTION(rgw_log_object_name, OPT_STR, "%Y-%m-%d-%H-%i-%n") // man date to se OPTION(rgw_log_object_name_utc, OPT_BOOL, false) OPTION(rgw_usage_max_shards, OPT_INT, 32) OPTION(rgw_usage_max_user_shards, OPT_INT, 1) -OPTION(rgw_enable_ops_log, OPT_BOOL, true) // enable logging every rgw operation -OPTION(rgw_enable_usage_log, OPT_BOOL, true) // enable logging bandwidth usage +OPTION(rgw_enable_ops_log, OPT_BOOL, false) // enable logging every rgw operation +OPTION(rgw_enable_usage_log, OPT_BOOL, false) // enable logging bandwidth usage OPTION(rgw_ops_log_rados, OPT_BOOL, true) // whether ops log should go to rados OPTION(rgw_ops_log_socket_path, OPT_STR, "") // path to unix domain socket where ops log can go OPTION(rgw_ops_log_data_backlog, OPT_INT, 5 << 20) // max data backlog for ops log -- 2.39.5