Log redirected output to file as well as window.