hook log view to log output.