From f249b23cf34ec9fad1027b46f7ed5d76d70cda13 Mon Sep 17 00:00:00 2001 From: Loisaida Sam Date: Mon, 5 Aug 2013 12:19:56 -0400 Subject: [PATCH] Update logging.rst --- docs/config/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/logging.rst b/docs/config/logging.rst index 5f8ff3140..abbc9a1e7 100644 --- a/docs/config/logging.rst +++ b/docs/config/logging.rst @@ -84,7 +84,7 @@ Sentry to render it based on that information:: 'stack': True, }) -.. note:: Depending on the version of Python you're using, ``extra`` might not be an acceptable keyword argument for a logger's ``.exception()`` method (``.debug()``, ``.info()``, ``.warning()``, ``.error()`` and ``.critical()`` should work fine regardless of Python version). This should be fixed as of Python 3.2. Official issue here: [http://bugs.python.org/issue15541](http://bugs.python.org/issue15541). +.. note:: Depending on the version of Python you're using, ``extra`` might not be an acceptable keyword argument for a logger's ``.exception()`` method (``.debug()``, ``.info()``, ``.warning()``, ``.error()`` and ``.critical()`` should work fine regardless of Python version). This should be fixed as of Python 3.2. Official issue here: http://bugs.python.org/issue15541. While we don't recommend this, you can also enable implicit stack capturing for all messages::