improved logging of the cost comparator