create a logs directory if it's missing