output written to file instead of log i.e. console, unwanted output lines commented out