making sure log exists, otherwise you get an error on first run