create logs directory if needed