Changes to opening logfile.