Don't make a file if logFile == null