SciLifeLab/logbook — pull request #1 by vals (2012-10-04 11:20:14+00:00)
Title: Feature - couchdb backend

Implements this functionality to the logbook module:

```python
from logbook import Logger
from logbook.more import DatabaseHandler
from logbook.more import CouchDBBackend

log = Logger("Testbook")
log.info("Banana!")
handler = DatabaseHandler('http://localhost:5984', \
backend=CouchDBBackend, \
db='logging_test')

with handler:
log.info("Hello world!")

```

This will save a log record in the specified CouchDB database as a document.