delete log on upload