]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: sync module: avoid printing attrs of objects in log 25541/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 13 Dec 2018 14:57:40 +0000 (15:57 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 13 Dec 2018 14:57:40 +0000 (15:57 +0100)
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>
src/rgw/rgw_sync_module.cc
src/rgw/rgw_sync_module_es.cc

index 88248c321014efa223e0eebbe47091e8138b8b2c..280a3df6d9cf7e16cc86979ba41d561ea3c07101 100644 (file)
@@ -39,8 +39,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 3ee21211270a8f246302af7c47b7a8f0e86e4dd8..7e8c84995936e8bdd081b3d54f621f14ec85e678 100644 (file)
@@ -507,8 +507,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);