Python logging in couchdb