create logfile when running