add log-view-mode