delete the log
repair redirection