cleaning log file