We can generate a default logfile now; workDirectory is moved outside