Here is a completely algebraic proof, using the definition $\log 1 = 0$, $ \log' x = 1/x $. It may look rather familiar if you think about the proof that $\sqrt{2} \notin \mathbb{Q}$.
Suppose that $\log x = P/Q$ is rational, $P,Q$ coprime polynomials, $Q \neq 0$. Then differentiating,
$$ \frac{1}{x} = \frac{P'Q-Q'P}{Q^2} , $$
or
$$ Q^2 = x(P'Q-Q'P) . \tag{*} $$
Hence $x \mid Q^2$, and since $x$ is irreducible, $x \mid Q$. So we can write $Q = x^k R$ where $R \neq 0$, $x \nmid R$ and $k \geq 1$. Inserting this into (*),
$$ x^{2k} R^2 = x^{k+1} P'R - x^{k+1}PR \Big( \frac{1}{x} + \frac{R'}{R} \Big) = x^{k+1} P' R - kx^k PR - x^{k+1} PR' . $$
Cancelling,
$$ x^k R^2 = xP'R - kPR - xPR' , $$
so
$$ kPR = x(P'R - PR' - x^{k-1}R^2) $$
Since the polynomials are an integral domain, the left-hand side cannot be $0$, so neither bracket on the right-hand side is $0$, and therefore since $ x \nmid R$ by definition, $x \nmid P$. Hence $P,Q$ are not coprime, contradicting the original assumption. Therefore $\log x$ cannot be a rational function.
Nothing particularly special about $x$ was used here: suppose that $S,T$ are coprime polynomials, with $T$ a squarefree polynomial in $F[X]$. We can show that any antiderivative of $S/T$ is not rational: suppose it was, and equal to $P/Q$, then
$$ SQ^2 = T(P'Q-Q'P) $$
as before. So $T \mid SQ^2$, and since $T$ is squarefree and $S,T$ are coprime, $T \mid Q$. Write $Q = T^k R$ where $T \nmid R$ and $k\geq 1$. Then
$$ ST^{2k} R^2 = T^{k+1}P'R - kT^{k}T'PR -T^{k+1}PR' , $$
and cancelling,
$$ ST^k R^2 = T(P'R-PR') - kT'PR . $$
Hence
$$ kT'PR = T( P'R-PR' - ST^{k-1}R ) . $$
None of the factors can be $0$ as before, so $ T \mid T'PR $. But $T$ is squarefree, so it is coprime to its derivative $T'$, so $T \mid PR$. But $T \nmid R$, so the GCD of $T$ and $R$, say $G$, is a proper divisor of $T$, $T = GH$ with $H$ coprime to $R/G$. But $GH \mid PR \implies H \mid P(R/G)$, and $H$ is coprime to $R/G$, so $H \mid P$. But $H \mid T$ and $T \mid Q$, so $H \mid Q$, contradicting that $P,Q$ are coprime.
I suspect the same analysis can be carried out for $S/(UV)$, where $S$ is coprime to $UV$ and $V$ is squarefree, but I haven't worked through it. There's not really much point, given the existence of the partial fraction decomposition.