update the file name of log