Fix timestamp format in the log file.