summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Wayne Parrott <jon.wayne.parrott@gmail.com>2016-06-14 11:04:52 -0700
committerJon Wayne Parrott <jon.wayne.parrott@gmail.com>2016-06-28 09:50:45 -0700
commitb3574581a2a6d011783d7dbbe22f890864f83097 (patch)
treeefcc416745799560caa4a6331038145461a42f8b /docs
parenta577b635e8b4dd29af1e8ca57ac1184aae3706b7 (diff)
downloadurllib3-b3574581a2a6d011783d7dbbe22f890864f83097.tar.gz
Adding logging and exceptions.
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/user-guide.rst b/docs/user-guide.rst
index 92f6475b..960e2fc6 100644
--- a/docs/user-guide.rst
+++ b/docs/user-guide.rst
@@ -496,5 +496,14 @@ You still override this pool-level retry policy by specifying ``retries`` to
Logging
-------
+If you are using the standard library :mod:`logging` module urllib3 will
+emit several logs. In some cases this can be undesirable. You can use the
+standard logger interface to change the log level for urllib3's logger::
+
+ >>> logging.getLogger("urllib3").setLevel(logging.WARNING)
+
Errors & Exceptions
-------------------
+
+Urllib3 wraps lower-level exceptions. See :mod:`~urllib3.exceptions` for
+the full list of all exceptions.