Fix log couchdb