create logs directory if not exist