clean up logfile outputs