Logfile should be logfile, logging did not work