Recently, when facing a baby Rudin's exercise, I proved that: $$ \int_{0}^{y}\frac{|\cos x\,|}{1+x}\,dx = \frac{2}{\pi}\log(1+y)+O(1) $$ holds by integration by parts.
Now I wonder if $$\color{red}{L}=\lim_{y\to +\infty}\left(-\frac{2}{\pi}\log(1+y)+\int_{0}^{y}\frac{|\cos x\,|}{1+x}\,dx\right)$$ has a nice closed form expression.
It is easy to argue that, since the Fourier series of $|\cos x\,|$ is given by: $$ |\cos x\,|=\frac{2}{\pi}+\frac{4}{\pi}\sum_{n\geq 1}\frac{(-1)^{n+1}}{4n^2-1}\cos(2nx)\tag{A} $$ our constant is given by: $$ \int_{0}^{+\infty} f(x)\cos(2x)\,dx,\tag{B} $$ where: $$ f(x) = \frac{4}{\pi}\sum_{n\geq 1}\frac{(-1)^{n+1}}{(4n^2-1)(x+n)},\tag{C} $$ hence $L$ is probably related with the Clausen function. Numerically, $$ L \approx 0.057813. \tag{D}$$ By using the identity stated in the comments and Fubini's theorem we also have: $$ L = \frac{2}{\pi}\int_{0}^{+\infty}\frac{y}{1+y^2}\left(-1+2\arctan(e^{-y})\cosh(y)\right)\,dy.\tag{E}$$