Overwrite the log file