Trying to log console output to console_output.txt.