]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: change loglevel to 5 in user's quota sync. 13408/head
authorZhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Tue, 14 Feb 2017 01:47:00 +0000 (09:47 +0800)
committerZhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Tue, 14 Feb 2017 01:47:00 +0000 (09:47 +0800)
Fixes: http://tracker.ceph.com/issues/18921
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
src/rgw/rgw_quota.cc

index c364c27cbcaeaa4b23f44dbbdab7660a6437e5d1..eb2e02d932054341f1d0a289f31681306ddaa3da 100644 (file)
@@ -591,7 +591,7 @@ int RGWUserStatsCache::sync_user(const rgw_user& user)
   string user_str = user.to_str();
   int ret = store->cls_user_get_header(user_str, &header);
   if (ret < 0) {
-    ldout(store->ctx(), 0) << "ERROR: can't read user header: ret=" << ret << dendl;
+    ldout(store->ctx(), 5) << "ERROR: can't read user header: ret=" << ret << dendl;
     return ret;
   }
 
@@ -644,7 +644,7 @@ int RGWUserStatsCache::sync_all_users()
       ldout(store->ctx(), 20) << "RGWUserStatsCache: sync user=" << user << dendl;
       int ret = sync_user(user);
       if (ret < 0) {
-        ldout(store->ctx(), 0) << "ERROR: sync_user() failed, user=" << user << " ret=" << ret << dendl;
+        ldout(store->ctx(), 5) << "ERROR: sync_user() failed, user=" << user << " ret=" << ret << dendl;
 
         /* continuing to next user */
         continue;