Create the log file first