In processItem, don't log repeated items.