Infinite sum of logs puzzle

$$\begin{align} -\ln(1-x)=\sum_{k=0}^\infty\ln(1+x^{2^k}) & \iff \frac 1 {1-x}=\prod^\infty _{k=0}(1+x^{2^k})\\ &\iff 1=(1-x)\lim_{n \to \infty} \prod^n _{k=0}(1+x^{2^k})\\ &\iff1=(1-x^2)\lim_{n \to \infty}\prod^n_{k=1}(1+x^{2^k})\\ &\iff1=\lim_{n \to \infty} (1-x^{2^{n+1}})\\ \end{align} $$


Exponentiate both sides to get $\frac{1}{1-x} = (1+ x)(1 + x^2)$... By uniqueness of the binary representation of a nonnegative integer we find that the $x^n$ coefficient on the right side is $1$ for all $n$, so equality follows by power series representation of the left side.


Lets call the right hand side $\ln(A)$

Take the exponential of $\ln(A)$ and expand it with by $\frac{1-x}{1-x}$ see the telescope product on the right side to get:

$$A=\frac{1}{1-x}\lim_{k\to \infty}(1-x^{2^{k+1}})=\frac{1}{1-x}$$

Take the logarithm of $A$ to show that it is equal to $-\ln(1-x)$.