From: Sage Weil Date: Thu, 27 Dec 2012 21:27:46 +0000 (-0800) Subject: rgw: disable ops and usage logging by default X-Git-Tag: v0.56~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f6ce5dda438a848a681bb028e8e5b637583f0f7a;p=ceph.git 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 --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 55db517b055..fed0f491a3f 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