make sure the logs folder exists