Dinesh Malav The solution proposed above could have a significant impact on performance impacting unsuspecting users. Is it possible to avoid deleting the log file? Not having the problem in the fist place would be the simplest solution.