Fixed log file removal mechanism