renames logfile