From: Ben Darnell Date: Mon, 27 Jun 2011 01:43:17 +0000 (-0700) Subject: Reduce logging verbosity in curl_httpclient to match simple_httpclient. X-Git-Tag: v2.1.0~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0750cb80a6b0101a31f3590586a9a161ac005ae;p=thirdparty%2Ftornado.git Reduce logging verbosity in curl_httpclient to match simple_httpclient. --- diff --git a/tornado/curl_httpclient.py b/tornado/curl_httpclient.py index 7e8d78f2e..db47c26ba 100644 --- a/tornado/curl_httpclient.py +++ b/tornado/curl_httpclient.py @@ -389,11 +389,11 @@ def _curl_setup_request(curl, request, buffer, headers): userpwd = "%s:%s" % (request.auth_username, request.auth_password) curl.setopt(pycurl.HTTPAUTH, pycurl.HTTPAUTH_BASIC) curl.setopt(pycurl.USERPWD, userpwd) - logging.info("%s %s (username: %r)", request.method, request.url, - request.auth_username) + logging.debug("%s %s (username: %r)", request.method, request.url, + request.auth_username) else: curl.unsetopt(pycurl.USERPWD) - logging.info("%s %s", request.method, request.url) + logging.debug("%s %s", request.method, request.url) if threading.activeCount() > 1: # libcurl/pycurl is not thread-safe by default. When multiple threads # are used, signals should be disabled. This has the side effect