redirect console output to file by default