Compute the following integral $$\int \limits_0^{+\infty }\frac{\cos \left(\ln x\right)}{x^2+e^{2017\pi \ }}dx.$$
I came across this problem but before to start to attack it I asked myself a question: since we have infinite interval, then this is probably improper integral, right? But the lower limit of integration looks a bit weird since the integrand $\dfrac{\cos \left(\ln x\right)}{x^2+e^{2017\pi \ }}$ is not defined at $0$ and the limit does not exists at $0$? So how to understand that integral correctly?