Python log handler for logging to a couchDB