cleanup log file