Add ability to switch log viewer off