Avoid writing duplicate logs during initialization. Avoid appending the full log during starting new view.