Logfile fix