]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: update life cycle related log level 18845/head
authorYao Zongyou <yaozongyou@vip.qq.com>
Thu, 9 Nov 2017 11:12:50 +0000 (19:12 +0800)
committerYao Zongyou <yaozongyou@vip.qq.com>
Thu, 9 Nov 2017 11:12:50 +0000 (19:12 +0800)
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
src/rgw/rgw_lc.cc

index 0e99b1dc25ee2dbfe550987ee59b33470b151d8f..c25e22db627c013a79857c91d4df2992c8970b25 100644 (file)
@@ -146,12 +146,12 @@ void *RGWLC::LCWorker::entry() {
   do {
     utime_t start = ceph_clock_now();
     if (should_work(start)) {
-      dout(5) << "life cycle: start" << dendl;
+      dout(2) << "life cycle: start" << dendl;
       int r = lc->process();
       if (r < 0) {
         dout(0) << "ERROR: do life cycle process() returned error r=" << r << dendl;
       }
-      dout(5) << "life cycle: stop" << dendl;
+      dout(2) << "life cycle: stop" << dendl;
     }
     if (lc->going_down())
       break;
@@ -455,7 +455,7 @@ int RGWLC::bucket_lc_process(string& shard_id)
             if (ret < 0) {
               ldout(cct, 0) << "ERROR: remove_expired_obj " << dendl;
             } else {
-              ldout(cct, 10) << "DELETED:" << bucket_name << ":" << key << dendl;
+              ldout(cct, 2) << "DELETED:" << bucket_name << ":" << key << dendl;
             }
           }
         }
@@ -557,7 +557,7 @@ int RGWLC::bucket_lc_process(string& shard_id)
             if (ret < 0) {
               ldout(cct, 0) << "ERROR: remove_expired_obj " << dendl;
             } else {
-              ldout(cct, 10) << "DELETED:" << bucket_name << ":" << obj_iter->key << dendl;
+              ldout(cct, 2) << "DELETED:" << bucket_name << ":" << obj_iter->key << dendl;
             }
           }
         }