Removes loggins that fails when pass an iterable object.