Let's assume the following equation as given $$\log 2=\lim_{n\to\infty} n(2^{1/n}-1)\tag{1}$$ By definition of Riemann integral if $f:[a, b] \to\mathbb {R} $ is Riemann integrable on $[a, b] $ with integral $I$ then for every $\epsilon >0$ there is a $\delta>0$ such that for all partitions $P$ of $[a, b] $ with norm less than $\delta$ we have $|S(f, P) - I|<\epsilon $ and we write $\lim_{||P||\to 0}S(f,P)=I$.
To explain notation and terms we say that a set $P=\{x_0,x_1,\dots, x_n\} $ is a partition of interval $[a, b] $ if $$a=x_0<x_1<\dots<x_n=b$$ The norm of $P$ (denoted by $||P||$) is defined as $\max_{i=1}^{n}(x_i-x_{i-1})$. A Riemann sum for $f$ over a partition $P$ of $[a, b] $ (denoted by $S(f, P) $) is a sum of the form $$\sum_{i=1}^{n}f(t_i)(x_i-x_{i-1})$$ where points $t_i$ called tags are arbitrary points of the intervals $[x_{i-1},x_i]$ respectively.
Now it is well known that function $f$ defined by $f(x) =1/x$ is Riemann integrable on any interval $[a, b] $ if $0\notin[a,b]$ (because of continuity of $f$ in that interval) and in particular the Riemann integral $$I=\int_{1}^{2}\frac{dx}{x}$$ exists.
Let's choose partition $P$ of $[1,2]$ using points $x_k=2^{k/n}$. Then norm of $P$ is $\max_{k=1}^{n}(2^{k/n}-2^{(k-1)/n})$ and this tends to $0$ if $n\to \infty $. Also let's choose tags $t_k$ as $t_k=x_{k-1}=2^{(k-1)/n}$. Then the Riemann sum $$S(f, P) =\sum_{k=1}^{n}f(t_k)(x_k-x_{k-1})=\sum_{k=1}^{n}\frac{2^{k/n}-2^{(k-1)/n}}{2^{(k-1)/n}}=n(2^{1/n}-1)$$ and by our starting equation this tends to $\log 2$ as $n\to\infty$. Hence the value of the integral is $\log 2$.
Note: This is an expansion of my comment to the question and another answer based on same idea has been given by another user. I have tried here to give some more detail about Riemann integration and in particular highlighted the arbitrary nature of points of a partition. Typical introductory calculus texts almost exclusively use partition points in arithmetic progression and this answer in contrast uses points in geometric progression for creating a partition. The same technique can be used to evaluate the integral of $f(x) =x^p$ for any $p$.