Log test errors.