diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc index 2c9a03e5092..3ff0792b5d2 100644 --- a/src/rgw/rgw_common.cc +++ b/src/rgw/rgw_common.cc @@ -87,6 +87,7 @@ is_err() const req_state::req_state(CephContext *_cct, struct RGWEnv *e) : cct(_cct), os_auth_token(NULL), os_user(NULL), os_groups(NULL), env(e) { enable_ops_log = env->conf->enable_ops_log; + enable_usage_log = env->conf->enable_usage_log; content_started = false; format = 0; bucket_acl = NULL;