Adds dedup logging on event insert.