rgw: initalize s->enable_usage_log

Missing initialization, we ended up not logging every operation.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
Yehuda Sadeh 2012-06-18 14:27:51 -07:00 committed by Sage Weil
parent f3f144adf1
commit 282e2260f9

View File

@ -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;