If $f$ just bounded the integral can diverge (e.g. for $f\equiv 1$). If $f$ has compact support then passing to the polar coordinates, $x_1=r\cos\varphi$ etc. and expanding the kernel on the powers of $r=(x_1^2+x_2^2)^{1/2}$ we have $$ \log |(y_1-x_1)^2+x_2^2|=2 \log r-\frac{2 y_1 \cos \varphi }{r}+O\left(\frac{1}{r^2}\right),\quad r\to\infty, $$ and $$ u(x)=2 \log r\int_{\mathbb R}f(y_1)\,dy_1+O(r^{-1}). $$
**Update**
May be the requirement of compact support can be replaced by a suitable vanishing of $f$, say as $|x_1|^{-2}$. Perhaps to get a better understanding of necessary and suffitient conditions on $f$ one can map conformly the half-plane on the unit circle. The integral of $f$ will turn into in an integral with some weight on the unit circumference.