Now creates the logs directory if it does not exist