added another log to debug cloudant.