From 82db4777cec6c33194c154c76d75f515b3f74036 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Thu, 24 Sep 2015 11:14:05 -0700 Subject: [PATCH] rgw: silence some verbose logs Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_http_client.cc | 2 +- src/rgw/rgw_rest_client.cc | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/rgw/rgw_http_client.cc b/src/rgw/rgw_http_client.cc index a3ddf94c3cbf2..f554ac8daf7ef 100644 --- a/src/rgw/rgw_http_client.cc +++ b/src/rgw/rgw_http_client.cc @@ -550,7 +550,7 @@ void *RGWHTTPManager::reqs_thread_entry() int still_running; int mstatus; - ldout(cct, 0) << __func__ << ": start" << dendl; + ldout(cct, 20) << __func__ << ": start" << dendl; while (!going_down.read()) { int ret = do_curl_wait(cct, (CURLM *)multi_handle, thread_pipe[0]); diff --git a/src/rgw/rgw_rest_client.cc b/src/rgw/rgw_rest_client.cc index b161e5d5a1f84..83f5065d0d973 100644 --- a/src/rgw/rgw_rest_client.cc +++ b/src/rgw/rgw_rest_client.cc @@ -176,9 +176,11 @@ int RGWRESTSimpleRequest::sign_request(RGWAccessKey& key, RGWEnv& env, req_info& { map& m = env.get_map(); - map::iterator i; - for (i = m.begin(); i != m.end(); ++i) { - ldout(cct, 0) << "> " << i->first << " -> " << i->second << dendl; + if (cct->_conf->subsys.should_gather(ceph_subsys_rgw, 20)) { + map::iterator i; + for (i = m.begin(); i != m.end(); ++i) { + ldout(cct, 20) << "> " << i->first << " -> " << i->second << dendl; + } } string canonical_header; -- 2.39.5