Skip to content

dimagi/couchdbkit-debugpanel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a debug toolbar panel for adding couch trace/performance logging

Setting up:

Make sure debug_toolbar is already working.

In your settings.py, INSTALLED_APPS, add: :: 'debug_toolbar', #the debug toolbar is required for this to work. 'couchdebugpanel', 'dimagi.utils', #this will be removed in a later update

In your DEBUG_TOOLBAR_PANELS, add: :: 'couchdebugpanel.CouchDBLoggingPanel'

If this isn't already defined, you'll need to explicitly pass in the full list of panels you want. I recommend copying from https://django-debug-toolbar.readthedocs.org/en/latest/configuration.html#debug-toolbar-panels

(You should also consider disabling the LoggingPanel because couchdbkit/restkit uses extensive logging by default. Either suppress the logging level on couchdbkit or just disable this panel, or adjusting restkit and couchdbkit's debug levels manually so as to not overload the LoggingPanel.)

About

A debug-toolbar panel for couchdbkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •