delete log file, make app_generation more robust