Correcting the date printed in the log file.