deduplicate device logs