log file cleanup