Skip to content
Python logging in couchdb
Python HTML JavaScript CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
couchlog
.coveragerc
.gitignore
.travis.yml
MANIFEST.in
README.md
settings.py
setup.py

README.md

Couchlog

Build Status Test coverage PyPi version PyPi downloads

A django and couch-based logger for all your distributed error-tracking needs.

To configure (Django 1.3+) just add a line like this to your LOGGING setting (which is based on logging.config.dictConfig)

LOGGING = {
    'handlers': {
        'couchlog':{
            'level':'INFO',
            'class':'couchlog.handlers.CouchHandler',
        },
    },
    'loggers': {
        '': {
            'handlers':['couchlog'],
            'propagate': True,
            'level':'INFO',
        },
    }
}

By default couchlog views require superuser permissions, but you can override it by setting COUCHLOG_AUTH_DECORATOR in settings.py to a different permission decorator.

Something went wrong with that request. Please try again.