fix log-file name bug