Initialize logEntry to zero.