clearing log file code