mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
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:
parent
f3f144adf1
commit
282e2260f9
@ -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)
|
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_ops_log = env->conf->enable_ops_log;
|
||||||
|
enable_usage_log = env->conf->enable_usage_log;
|
||||||
content_started = false;
|
content_started = false;
|
||||||
format = 0;
|
format = 0;
|
||||||
bucket_acl = NULL;
|
bucket_acl = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user