I must compute the following integral
$$\displaystyle\int_{0}^{+\infty}\frac{\log x}{1+x^3}dx$$
Can someone suggest me the right circuit in the complex plane over which to do the integration? I tried different paths, avoiding the origin, but unsuccessfully
Evaluating the integral $$ \int_\gamma\frac{\log(z)}{1+z^3}\,\mathrm{d}z\tag{1} $$ over the contour
$\hspace{4.5cm}$
and accounting for the pole at $e^{\pi i/3}$ with residue $\frac{\pi i}{3}\frac1{3e^{2\pi i/3}}$ gives $$ \begin{align} 2\pi i\frac{\pi i}{3}\frac1{3e^{2\pi i/3}} &=\color{#C00000}{\int_0^\infty\frac{\log(t)}{1+t^3}\,\mathrm{d}t} \color{#0000FF}{-\int_0^\infty\frac{\log(t)+2\pi i/3}{1+t^3}\,e^{2\pi i/3}\,\mathrm{d}t}\\ &=\left(1-e^{2\pi i/3}\right)\int_0^\infty\frac{\log(t)}{1+t^3}\,\mathrm{d}t -\frac{2\pi i}{3}e^{2\pi i/3}\int_0^\infty\frac{\mathrm{d}t}{1+t^3}\tag{2} \end{align} $$ Therefore, $$ \frac{2\pi^2}{9}e^{\pi i/3} =\left(1-e^{2\pi i/3}\right)\int_0^\infty\frac{\log(t)}{1+t^3}\,\mathrm{d}t +\frac{2\pi}{3}e^{\pi i/6}\int_0^\infty\frac{\mathrm{d}t}{1+t^3}\tag{3} $$ Dividing by $e^{\pi i/3}$ $$ \frac{2\pi^2}{9} =-i\sqrt3\int_0^\infty\frac{\log(t)}{1+t^3}\,\mathrm{d}t +\frac{\pi(\sqrt3-i)}{3}\int_0^\infty\frac{\mathrm{d}t}{1+t^3}\tag{4} $$ The real part of $(4)$ yields $$ \int_0^\infty\frac{\mathrm{d}t}{1+t^3}=\frac{2\pi\sqrt3}{9}\tag{5} $$ and the imaginary part of $(4)$ combined with $(5)$ gives $$ \int_0^\infty\frac{\log(t)}{1+t^3}\,\mathrm{d}t=-\frac{2\pi^2}{27}\tag{6} $$