In 3+1D, I can calculate the total force due to gravity acting on a point on the surface of the unit sphere of constant density, where I choose units so that all physical constants (as well as the density of the sphere) is 1:
$$F = 4\int_{-1}^1 \int_{-\sqrt{1-x^2}}^{\sqrt{1-x^2}} \int_{-\sqrt{1-x^2-y^2}}^{\sqrt{1-x^2-y^2}} \tfrac{x+1}{\left[(x+1)^2+y^2+z^2\right]^{3/2}} dz\, dy\, dx = \frac{16\pi}{3}.$$
This force agrees with what we get if we treat the sphere as a point particle at the sphere's center of gravity with lumped mass $\frac{4\pi}{3}$. So far so good.
But now if I try to calculate the force of gravity of a point on the boundary of the unit disk in 2+1D, I get infinity:
$$F = 2\int_{-1}^1 \int_{-\sqrt{1-x^2}}^{\sqrt{1-x^2}} \tfrac{x+1}{\left[(x+1)^2+y^2\right]^{3/2}} dy\, dx = \infty?$$ Intuitively, if I think of the total force as the sum of contributions from nested circular rings around the point of interest, the circumference of the rings scales like $r$, the force density like $\frac{1}{r^2}$, so the contribution of each ring scales like $\frac{1}{r}$ which diverges as $r\to 0$.
What is going on here? How is the gravity potential derived? Is it an accident that in 3+1D, $\frac{G m_1 m_2}{r}$ is harmonic on the punctured space $\mathbb{R}^3 \backslash\{0\}$? Is the "right" gravity potential in 2+1D something like $G m_1 m_2 \log r$? If so, why, and isn't it a paradox if point masses in 2+1D orbit according to a different law than co-planar point masses in 3+1D?