I have been trying to calculate the massless scalar field propagator in position space by directly Fourier transforming the momentum space propagator. $$\int{d^2p\frac{1}{(p^0)^2-(p^1)^2}e^{-i(p^0t-p^1x)}}$$
Upon referring to multiple sources (linked below), I realize that the answer is actually proportional to $ln|x|$ but I don't see how this integral will result in that answer. All of these sources obtain that answer by finding the massive propagator and then taking the $m\rightarrow 0$ limit. I don't see what I am missing by directly doing doing the above integral.
To see how the above integral does not give $ln|x|$:
Evaluate the $dp^0$ integral using the Feynman prescription for avoiding the poles and this will give: $$\int\frac{i}{2\pi p^1}e^{-ip^1 (t-x)}dp^1$$This integral is actually a constant multipled by a step function.
I also head into a similar problem in the (1+3)-D case where a direct Fourier transform gives a different answer from the known propagator and from the answer got by taking the limit on the massive case. So, what am I missing by directly Fourier transforming the propagator from momentum space?
Sources:
H. Zhang, K. Feng, S. Qiu, A. Zhao and X. Li, "On analytic formulas of Feynman propagators in position space", Chinese Phys. C 34 (2010) 1576, arXiv:0811.1261.
Phys.SE Q: Two-point function of massless scalar theory in 2d CFT