LogFile and Termination