]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: disable ops and usage logging by default
authorSage Weil <sage@inktank.com>
Thu, 27 Dec 2012 21:27:46 +0000 (13:27 -0800)
committerSage Weil <sage@inktank.com>
Fri, 28 Dec 2012 06:02:38 +0000 (22:02 -0800)
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 <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
src/common/config_opts.h

index 55db517b055e85c1fbec71b3cef5b275eb1ecf08..fed0f491a3f5c9133fc040cee3a0871e574d7af2 100644 (file)
@@ -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