summaryrefslogtreecommitdiff
path: root/docs/oauth2
diff options
context:
space:
mode:
authorAbhishek Patel <abhidgreat8394@gmail.com>2019-04-23 21:08:04 -0700
committerAbhishek Patel <abhidgreat8394@gmail.com>2019-04-23 21:08:04 -0700
commit924a58fa1a9cc6eb2175ac038ca409708951915b (patch)
treec4dfbee381ba116ef2ecc72cec3fc420d31d776c /docs/oauth2
parent8390fa8ec6c019b3403b05287392e7a517c71963 (diff)
downloadoauthlib-924a58fa1a9cc6eb2175ac038ca409708951915b.tar.gz
Update documentation
Diffstat (limited to 'docs/oauth2')
-rw-r--r--docs/oauth2/server.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/oauth2/server.rst b/docs/oauth2/server.rst
index dad0aae..d9846c5 100644
--- a/docs/oauth2/server.rst
+++ b/docs/oauth2/server.rst
@@ -524,7 +524,10 @@ If you run into issues it can be helpful to enable debug logging.
.. code-block:: python
import logging
+ import oauthlib
import sys
+
+ oauthlib.set_debug(True)
log = logging.getLogger('oauthlib')
log.addHandler(logging.StreamHandler(sys.stdout))
log.setLevel(logging.DEBUG)