add some log output to the view.