Loggin error when deleting an attribute.