log files deleted on close