Modifying the log file