create logfile if it does not exist