log all errors from couchdb