If true, it will start outputting the console log to a file when an error occurs. If false, the log will not be output to a file even if an error occurs.