Slightly better logging.. since iriscouch keeps returning errors.