Correction of the log file bug