added couch logging