removes logfile