add close log file