Skip to content

Commit

Permalink
Updated documentation indicating that logging is done via requests.pa…
Browse files Browse the repository at this point in the history
…ckages.urllib3 instead of requests.

modified:   docs/api.rst
  • Loading branch information
ssbarnea committed Apr 10, 2013
1 parent 17ecb68 commit fb49481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ API Changes
logging.basicConfig() # you need to initialize logging, otherwise you will not see anything from requests
logging.getLogger().setLevel(logging.DEBUG)
requests_log = logging.getLogger("requests")
requests_log = logging.getLogger("requests.packages.urllib3")
requests_log.setLevel(logging.DEBUG)
requests_log.propagate = True
Expand Down

0 comments on commit fb49481

Please sign in to comment.