parameters: ()
docstring: Switches on logging of the requests module.
docstring_summary: Switches on logging of the requests module.
docstring_tokens: Switches on logging of the requests module .
function: def debug_requests_on():
      '''Switches on logging of the requests module.'''
      HTTPConnection.debuglevel = 1
  
      logging.basicConfig()
      logging.getLogger().setLevel(logging.DEBUG)
      requests_log = logging.getLogger("requests.packages.urllib3")
      requests_log.setLevel(logging.DEBUG)
      requests_log.propagate = True
function_tokens: def debug_requests_on ( ) : HTTPConnection . debuglevel = 1 logging . basicConfig ( ) logging . getLogger ( ) . setLevel ( logging . DEBUG ) requests_log = logging . getLogger ( "requests.packages.urllib3" ) requests_log . setLevel ( logging . DEBUG ) requests_log . propagate = True