diff --git a/src/rgw/rgw_cr_rest.h b/src/rgw/rgw_cr_rest.h index 33c806b3a33..bc8dca630ac 100644 --- a/src/rgw/rgw_cr_rest.h +++ b/src/rgw/rgw_cr_rest.h @@ -126,7 +126,7 @@ public: if (ret < 0) { error_stream << "http operation failed: " << op->to_str() << " status=" << op->get_http_status() << std::endl; - lsubdout(cct, rgw, 0) << "ERROR: failed to wait for op, ret=" << ret + lsubdout(cct, rgw, 5) << "failed to wait for op, ret=" << ret << ": " << op->to_str() << dendl; op->put(); return ret; diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index ae474a40718..1163d047f89 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -1002,7 +1002,7 @@ public: yield init_lease_cr(); while (!lease_cr->is_locked()) { if (lease_cr->is_done()) { - ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl; + ldout(cct, 5) << "lease cr failed, done early " << dendl; set_status("lease lock failed, early abort"); return set_cr_error(lease_cr->get_ret_status()); } @@ -1068,7 +1068,7 @@ public: yield init_lease_cr(); while (!lease_cr->is_locked()) { if (lease_cr->is_done()) { - ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl; + ldout(cct, 5) << "lease cr failed, done early " << dendl; set_status("lease lock failed, early abort"); return set_cr_error(lease_cr->get_ret_status()); } @@ -2170,7 +2170,7 @@ int RGWBucketShardFullSyncCR::operate() } while (!lease_cr->is_locked()) { if (lease_cr->is_done()) { - ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl; + ldout(cct, 5) << "lease cr failed, done early " << dendl; set_status("lease lock failed, early abort"); return set_cr_error(lease_cr->get_ret_status()); } @@ -2316,7 +2316,7 @@ int RGWBucketShardIncrementalSyncCR::operate() } while (!lease_cr->is_locked()) { if (lease_cr->is_done()) { - ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl; + ldout(cct, 5) << "lease cr failed, done early " << dendl; set_status("lease lock failed, early abort"); return set_cr_error(lease_cr->get_ret_status()); } @@ -2507,7 +2507,7 @@ int RGWRunBucketSyncCoroutine::operate() } } if (retcode < 0) { - ldout(sync_env->cct, 0) << "ERROR: full sync on " << bucket_name << " bucket_id=" << bucket_id << " shard_id=" << shard_id << " failed, retcode=" << retcode << dendl; + ldout(sync_env->cct, 5) << "full sync on " << bucket_name << " bucket_id=" << bucket_id << " shard_id=" << shard_id << " failed, retcode=" << retcode << dendl; return set_cr_error(retcode); } @@ -2518,7 +2518,7 @@ int RGWRunBucketSyncCoroutine::operate() } } if (retcode < 0) { - ldout(sync_env->cct, 0) << "ERROR: incremental sync on " << bucket_name << " bucket_id=" << bucket_id << " shard_id=" << shard_id << " failed, retcode=" << retcode << dendl; + ldout(sync_env->cct, 5) << "incremental sync on " << bucket_name << " bucket_id=" << bucket_id << " shard_id=" << shard_id << " failed, retcode=" << retcode << dendl; return set_cr_error(retcode); } diff --git a/src/rgw/rgw_sync.cc b/src/rgw/rgw_sync.cc index 10f4e7f5201..b31a1666d04 100644 --- a/src/rgw/rgw_sync.cc +++ b/src/rgw/rgw_sync.cc @@ -622,7 +622,7 @@ public: } while (!lease_cr->is_locked()) { if (lease_cr->is_done()) { - ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl; + ldout(cct, 5) << "lease cr failed, done early " << dendl; set_status("lease lock failed, early abort"); return set_cr_error(lease_cr->get_ret_status()); } @@ -795,7 +795,7 @@ public: } while (!lease_cr->is_locked()) { if (lease_cr->is_done()) { - ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl; + ldout(cct, 5) << "lease cr failed, done early " << dendl; set_status("failed acquiring lock"); return set_cr_error(lease_cr->get_ret_status()); } @@ -1388,7 +1388,7 @@ public: } while (!lease_cr->is_locked()) { if (lease_cr->is_done()) { - ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl; + ldout(cct, 5) << "lease cr failed, done early " << dendl; drain_all(); return lease_cr->get_ret_status(); } @@ -1510,7 +1510,7 @@ public: } while (!lease_cr->is_locked()) { if (lease_cr->is_done()) { - ldout(cct, 0) << "ERROR: lease cr failed, done early " << dendl; + ldout(cct, 5) << "lease cr failed, done early " << dendl; drain_all(); return lease_cr->get_ret_status(); } @@ -2099,7 +2099,7 @@ int RGWCloneMetaLogCoroutine::state_receive_rest_response() int ret = http_op->wait(&data); if (ret < 0) { error_stream << "http operation failed: " << http_op->to_str() << " status=" << http_op->get_http_status() << std::endl; - ldout(cct, 0) << "ERROR: failed to wait for op, ret=" << ret << dendl; + ldout(cct, 5) << "failed to wait for op, ret=" << ret << dendl; http_op->put(); http_op = NULL; return set_cr_error(ret);