clean up log file