]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Add bucket name to bucket stats error logging 34653/head
authorSeena Fallah <seenafallah@gmail.com>
Mon, 20 Apr 2020 22:05:08 +0000 (02:35 +0430)
committerSeena Fallah <seenafallah@gmail.com>
Mon, 20 Apr 2020 22:05:08 +0000 (02:35 +0430)
Signed-off-by: Seena Fallah <seeenafallah@gmail.com>
src/rgw/rgw_bucket.cc

index 825cc1ad16999c559affe33384fd2be0cfa4240c..94e275f5c26603023a85b44d97ab6303a13d2a6f 100644 (file)
@@ -1378,7 +1378,7 @@ static int bucket_stats(rgw::sal::RGWRadosStore *store, const std::string& tenan
   string max_marker;
   int ret = store->getRados()->get_bucket_stats(bucket_info, RGW_NO_SHARD, &bucket_ver, &master_ver, stats, &max_marker);
   if (ret < 0) {
-    cerr << "error getting bucket stats ret=" << ret << std::endl;
+    cerr << "error getting bucket stats bucket=" << bucket.name << " ret=" << ret << std::endl;
     return ret;
   }