create directory for error logs