I want to show that the solution of a BVP: $\ u(x) = \ln{\frac{1+x}{1-x}}$ is in $L^2(0,1)$, so I need to show that the integral $$\int\limits_0^1\ln^2|\frac{x+1}{x-1}|dx < \infty$$
Just looking at the function, however, it's not even defined in the interval $[0,1]$, right? So can this not actually be a solution to the BVP? Even more generally about the integral itself, does that make it just $0$? And if not, can someone explain how an integral of a function can be defined in a region when the function itself is not?
Also, I know that there exist integral calculators online and have looked this up, specifically using: https://www.integral-calculator.com/
If you put in the given integral it says the integral could not be found and then gives a complex number approximation. What should be made of this? I have taken a complex variables course but don't really see how you could solve this using Residue Calculus since we don't have any symmetries.
EDIT: Note I had originally forgot the absolute value signs - my mistake.

$$ \begin{align} \int_0^1\log\left(\frac{1+x}{1-x}\right)^2\mathrm{d}x &=\int_1^\infty\log(u)^2\frac{2\,\mathrm{d}u}{(u+1)^2}\tag1\\ &=4\int_1^\infty\frac1{u+1}\frac{\log(u)}u\,\mathrm{d}u\tag2\\ &=-4\int_0^1\frac{\log(u)}{u+1}\,\mathrm{d}u\tag3\\ &=-4\sum_{n=0}^\infty\int_0^1(-1)^nu^n\log(u)\,\mathrm{d}u\tag4\\ &=4\sum_{n=0}^\infty\frac{(-1)^n}{(n+1)^2}\tag5\\ &=4\cdot\frac{\pi^2}{12}\tag6\\[3pt] &=\frac{\pi^2}3\tag7 \end{align} $$ Explanation:
$(1)$: $u=\frac{1+x}{1-x}\implies x=\frac{u-1}{u+1}$ and $\mathrm{d}x=\frac{2\,\mathrm{d}u}{(u+1)^2}$
$(2)$: integrate by parts
$(3)$: substitute $u\mapsto1/u$
$(4)$: apply the Taylor series for $\frac1{1+u}$
$(5)$: $\int_0^1u^n\log(u)\,\mathrm{d}u=-\frac1{(n+1)^2}$
$(6)$: $\sum\limits_{n=1}^\infty\frac{(-1)^{n-1}}{n^2}=\sum\limits_{n=1}^\infty\frac1{n^2}-2\sum\limits_{n=1}^\infty\frac1{(2n)^2}=\frac{\pi^2}6-\frac{\pi^2}{12}$
$(7)$: simplify