Update the format of log file