Obviously you are trying to solve problem 2.1 from Polchinski´s book which states:
"Verfify that $\partial\overline{\partial}\ln\left|z\right|^{2}=\partial\frac{1}{\overline{z}}=\overline{\partial}\frac{1}{z}=2\pi\delta^{2}\left(z,\:\overline{z}\right)$
(a) by use of the divergence theorem (2.1.9)
($\int_{R}d^{2}z\left(\partial_{z}v^{z}+\partial_{\overline{z}}v^{\overline{z}}\right)=i\oint_{\partial R}\left(v^{z}d\overline{z}-v^{z}dz\right)$);
(b) by regulating the singularity and then taking the limit."
(a) You have
- For holomorphic test functions $f(z)$:
$\int_{R}d^{2}z\partial\overline{\partial}\ln\left|z\right|^{2}f\left(z\right)=\int_{R}d^{2}z\overline{\partial}\frac{1}{z}f\left(z\right)=-i\oint_{\partial R}dz\frac{1}{z}f\left(z\right)=2\pi f\left(0\right)$.
- For antiholomorphic Test functions $f\left(\overline{z}\right)$:
$\int_{R}d^{2}z\partial\overline{\partial}\ln\left|z\right|^{2}f\left(\overline{z}\right)=\int_{R}d^{2}z\partial\frac{1}{\overline{z}}f\left(\overline{z}\right)=-i\oint_{\partial R}d\overline{z}\frac{1}{\overline{z}}f\left(\overline{z}\right)=2\pi f\left(0\right)$.
(b) Now comes the second part of the problem:
To regulate $\ln\left|z\right|^{2}$ use the good old $\epsilon$-environment trick and rewrite it as $\ln\left(\left|z\right|^{2}+\epsilon\right)$. This regularizes you also $\frac{1}{z}$ and $\frac{1}{\overline{z}}$:
$\partial\overline{\partial}\ln\left(\left|z\right|^{2}+\epsilon\right)=\partial\frac{z}{\left|z\right|^{2}+\epsilon}=\overline{\partial}\frac{\overline{z}}{\left|z\right|^{2}+\epsilon}=\frac{\epsilon}{\left(\left|z\right|^2+\epsilon\right)^{2}}$.
From this point the symmetry of the problem makes the use of polar coordinates more convenient. There consider a general test function $f\left(r,\:\theta\right)$, and define $g\left(r^{2}\right)\equiv\int d\theta f\left(r,\:\theta\right)$ which is assumed to be sufficiently well behaved in the asymptotic cases $0$ and $\infty$, then
$\int d^{2}z\frac{\epsilon}{\left(\left|z\right|^{2}+\epsilon\right)^{2}}f\left(z,\:\overline{z}\right)=\int^{\infty}_{0} du\frac{\epsilon}{\left(u+\epsilon\right)^{2}}g\left(u\right)=\left.\left(-\frac{\epsilon}{u+\epsilon}g\left(u\right)+\epsilon\ln\left(u+\epsilon\right)g^{\prime}\left(u\right)\right)\right|_{0}^{\infty}-\int^{\infty}_{0} du \epsilon\ln\left(u+\epsilon\right)g^{\prime\prime}\left(u\right)=g\left(0\right)=2\pi f\left(0\right).$