]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: sync module: avoid printing attrs of objects in log 27029/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 13 Dec 2018 14:57:40 +0000 (15:57 +0100)
committerPrashant D <pdhange@redhat.com>
Mon, 18 Mar 2019 03:42:16 +0000 (23:42 -0400)
Since attrs are verbose and not necessarily needed as a debug info (as they can
be obtained from the required object itself) avoid logging them. Also
additionally removed another place where such a log is done by the ES sync
module

Fixes: http://tracker.ceph.com/issues/37646
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 8f37b70630ceb62aff4019e9ad2508977590a873)

src/rgw/rgw_sync_module.cc
src/rgw/rgw_sync_module_es.cc

index 196f98541e94a3e4d5d96db955a87c0ec169064a..82b6fe06219f1575dde2bf866b949ee08d1fe817 100644 (file)
@@ -36,8 +36,8 @@ int RGWCallStatRemoteObjCR::operate() {
       return set_cr_error(retcode);
     }
     ldout(sync_env->cct, 20) << "stat of remote obj: z=" << sync_env->source_zone
-      << " b=" << bucket_info.bucket << " k=" << key << " size=" << size << " mtime=" << mtime
-      << " attrs=" << attrs << " headers=" << headers << dendl;
+                             << " b=" << bucket_info.bucket << " k=" << key
+                             << " size=" << size << " mtime=" << mtime << dendl;
     yield {
       RGWStatRemoteObjCBCR *cb = allocate_callback();
       if (cb) {
index 6549a18fd8f09532767b09e961afd0be526abdd0..14eb5d724e430d74ed7a69551da3dbf8eed6780c 100644 (file)
@@ -478,8 +478,9 @@ public:
   int operate() override {
     reenter(this) {
       ldout(sync_env->cct, 10) << ": stat of remote obj: z=" << sync_env->source_zone
-                               << " b=" << bucket_info.bucket << " k=" << key << " size=" << size << " mtime=" << mtime
-                               << " attrs=" << attrs << dendl;
+                               << " b=" << bucket_info.bucket << " k=" << key
+                               << " size=" << size << " mtime=" << mtime << dendl;
+
       yield {
         string path = conf->get_obj_path(bucket_info, key);
         es_obj_metadata doc(sync_env->cct, conf, bucket_info, key, mtime, size, attrs, versioned_epoch);