duplicate elimination of logs