Added switch to toggle data output in log view