in azure/datalake/store/lib.py [0:0]
def _log_request(self, method, url, op, path, params, headers, retry_count):
msg = u"HTTP Request\n{} {}\n".format(method.upper(), url)
param_str = u" ".join([u"{}={}".format(key, params[key]) for key in params])
msg += u"{} '{}' {}\n\n".format(
op, path, param_str)
msg += u"\n".join([u"{}: {}".format(header, headers[header])
for header in headers if header != 'Authorization'])
msg += u"\nAuthorization header length:" + str(len(headers['Authorization']))
if retry_count > 0:
msg += u"retry-count:{}".format(retry_count)
logger.debug(msg)