Correcting log file