clean logfile