code: def stage_http_request(self, conn_id, version, url, target, method, headers,
                             payload):
          
          if self.enabled and self.http_detail_level is not None and \
                  self.httplogger.isEnabledFor(logging.DEBUG):
              # pylint: disable=attribute-defined-outside-init
              # if Auth header, mask data
              if 'Authorization' in headers:
                  authtype, cred = headers['Authorization'].split(' ')
                  headers['Authorization'] = _format(
                      "{0} {1}", authtype, 'X' * len(cred))
  
              header_str = ' '.join('{0}:{1!r}'.format(k, v)
                                    for k, v in headers.items())
              if self.http_detail_level == 'summary':
                  upayload = ""
              elif isinstance(payload, six.binary_type):
                  upayload = payload.decode('utf-8')
              else:
                  upayload = payload
              if self.http_maxlen and (len(payload) > self.http_maxlen):
                  upayload = upayload[:self.http_maxlen] + '...'
  
              self.httplogger.debug('Request:%s %s %s %s %s %s\n    %s',
                                    conn_id, method, target, version, url,
                                    header_str, upayload)
docs: Log request HTTP information including url, headers, etc.