From: Casey Bodley Date: Mon, 16 May 2016 19:07:43 +0000 (-0400) Subject: rgw: add dout_prefix for rgw_data_sync.cc X-Git-Tag: v11.0.1~24^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=821c70d710295ceb5fd12b3058df6a672ed50b0a;p=ceph.git rgw: add dout_prefix for rgw_data_sync.cc and took out the redundant 'rgw' from 'rgw meta sync:' Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 1d1f8bfcb34b..d5ace03f3741 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -23,6 +23,9 @@ #define dout_subsys ceph_subsys_rgw +#undef dout_prefix +#define dout_prefix (*_dout << "data sync: ") + static string datalog_sync_status_oid_prefix = "datalog.sync-status"; static string datalog_sync_status_shard_prefix = "datalog.sync-status.shard"; static string datalog_sync_full_sync_index_prefix = "data.full-sync.index"; diff --git a/src/rgw/rgw_sync.cc b/src/rgw/rgw_sync.cc index 474e2c558d87..d82d11abdee9 100644 --- a/src/rgw/rgw_sync.cc +++ b/src/rgw/rgw_sync.cc @@ -25,7 +25,7 @@ #define dout_subsys ceph_subsys_rgw #undef dout_prefix -#define dout_prefix (*_dout << "rgw meta sync: ") +#define dout_prefix (*_dout << "meta sync: ") static string mdlog_sync_status_oid = "mdlog.sync-status"; static string mdlog_sync_status_shard_prefix = "mdlog.sync-status.shard";