Added uniqueness for log.