Commits

Ian Wilson  committed bff109b

Updated documentation for Sentry integration in README.

  • Participants
  • Parent commits 0c17276

Comments (0)

Files changed (1)

     
     DOGSLOW_LOG_LEVEL = 'WARNING' # optional, defaults to 'WARNING'
     
-    # change the sentry handler to handle WARNINGs, or create a new handler
-    # just for dogslow with the SentryHandler
+    # Add a new sentry handler to handle WARNINGs. It's not recommended to
+    # modify the existing sentry handler, as you'll probably start seeing
+    # other warnings unnecessarily sent to Sentry.
     LOGGING = {
         ...
         'handlers': {
             ...
-            'sentry': {
+            'dogslow': {
                 'level': 'WARNING',
                 'class': 'raven.contrib.django.handlers.SentryHandler',
             }
             ...
             'dogslow': {
                 'level': 'WARNING',
-                'handlers': ['sentry'], # or whatever you named your handler
+                'handlers': ['dogslow'], # or whatever you named your handler
             }
             ...
         }