Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed verbose logging

  • Loading branch information...
commit f0b5a3a5c43ccd68852da6a45b4ca0a582165084 1 parent 708e086
@sudorandom sudorandom authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 object_storage/transport/httplib2conn.py
View
5 object_storage/transport/httplib2conn.py
@@ -42,11 +42,9 @@ def make_request(self, method, url=None, headers=None, formatter=None, params=No
if params:
url = "%s?%s" % (url, urllib.urlencode(params))
- #print url, method, headers, data
def _make_request(headers):
- logger.info("%s %s %s %s" % (url, method, headers, data))
+ logger.debug("%s %s %s" % (method, url, headers))
res, content = self.http.request(url, method, headers=headers, body=data)
- logger.info("%s %s" % (res, content))
response = Response()
response.headers = res
response.status_code = int(res.status)
@@ -85,7 +83,6 @@ def auth_headers(self):
def authenticate(self):
""" Does authentication """
- logger.info("authenticate!")
headers = {'X-Storage-User': self.username,
'X-Storage-Pass': self.api_key,
'Content-Length': '0'}
Please sign in to comment.
Something went wrong with that request. Please try again.