log file name bug fix