Open and redirect the new log before closing the old one