Make sure we don't add the same log multiple times for a single
occurrence.