diff options
author | David Cramer <dcramer@gmail.com> | 2016-04-12 10:39:55 -0700 |
---|---|---|
committer | David Cramer <dcramer@gmail.com> | 2016-04-12 10:39:55 -0700 |
commit | cfebaf6f5a8f7e8522948bf89ef58be26d995c38 (patch) | |
tree | 2b95bc08891d234cdb3ce4a44ad4cf3f5a682a59 | |
parent | 2be2fd13970854377643a511db27f57bd1352090 (diff) | |
parent | ccb9b983a928110dbfb52ec4512b3b06854ae2af (diff) | |
download | raven-cfebaf6f5a8f7e8522948bf89ef58be26d995c38.tar.gz |
Merge pull request #748 from dmclain/doc-update
Be more explicit that Django logging integration only captures ERROR
-rw-r--r-- | docs/integrations/django.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/integrations/django.rst b/docs/integrations/django.rst index 201a827..ec06969 100644 --- a/docs/integrations/django.rst +++ b/docs/integrations/django.rst @@ -78,8 +78,8 @@ override: Integration with :mod:`logging` ------------------------------- -To integrate with the standard library's :mod:`logging` module the -following config can be used:: +To integrate with the standard library's :mod:`logging` module, and send all +ERROR and above messages to sentry, the following config can be used:: LOGGING = { 'version': 1, @@ -96,7 +96,7 @@ following config can be used:: }, 'handlers': { 'sentry': { - 'level': 'ERROR', + 'level': 'ERROR', # To capture more than ERROR, change to WARNING, INFO, etc. 'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler', 'tags': {'custom-tag': 'x'}, }, |