Delete logfile when no errors are detected