Turn on the mode after finding a log file.