From 208098441366cc7446138cc15afd4a99cd30a2fc Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 9 Sep 2016 15:58:21 -0400 Subject: [PATCH] rgw: do_curl_wait uses ldout Signed-off-by: Casey Bodley --- src/rgw/rgw_http_client.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/rgw/rgw_http_client.cc b/src/rgw/rgw_http_client.cc index 120b113fdc1..60fe615f307 100644 --- a/src/rgw/rgw_http_client.cc +++ b/src/rgw/rgw_http_client.cc @@ -431,7 +431,7 @@ static int do_curl_wait(CephContext *cct, CURLM *handle, int signal_fd) int ret = curl_multi_wait(handle, &wait_fd, 1, cct->_conf->rgw_curl_wait_timeout_ms, &num_fds); if (ret) { - dout(0) << "ERROR: curl_multi_wait() returned " << ret << dendl; + ldout(cct, 0) << "ERROR: curl_multi_wait() returned " << ret << dendl; return -EIO; } @@ -440,7 +440,7 @@ static int do_curl_wait(CephContext *cct, CURLM *handle, int signal_fd) ret = read(signal_fd, (void *)&buf, sizeof(buf)); if (ret < 0) { ret = -errno; - dout(0) << "ERROR: " << __func__ << "(): read() returned " << ret << dendl; + ldout(cct, 0) << "ERROR: " << __func__ << "(): read() returned " << ret << dendl; return ret; } } @@ -463,7 +463,7 @@ static int do_curl_wait(CephContext *cct, CURLM *handle, int signal_fd) /* get file descriptors from the transfers */ int ret = curl_multi_fdset(handle, &fdread, &fdwrite, &fdexcep, &maxfd); if (ret) { - generic_dout(0) << "ERROR: curl_multi_fdset returned " << ret << dendl; + ldout(cct, 0) << "ERROR: curl_multi_fdset returned " << ret << dendl; return -EIO; } @@ -486,7 +486,7 @@ static int do_curl_wait(CephContext *cct, CURLM *handle, int signal_fd) ret = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout); if (ret < 0) { ret = -errno; - dout(0) << "ERROR: select returned " << ret << dendl; + ldout(cct, 0) << "ERROR: select returned " << ret << dendl; return ret; } @@ -495,7 +495,7 @@ static int do_curl_wait(CephContext *cct, CURLM *handle, int signal_fd) ret = read(signal_fd, (void *)&buf, sizeof(buf)); if (ret < 0) { ret = -errno; - dout(0) << "ERROR: " << __func__ << "(): read() returned " << ret << dendl; + ldout(cct, 0) << "ERROR: " << __func__ << "(): read() returned " << ret << dendl; return ret; } } -- 2.39.5