Rewriting the integrand. Note that for t>1,
lntcos(πt)=tcos(πt)⋅tlnt1.
Mean value theorem for integrals. On [x,x2] (with 1<x), the function t↦tcos(πt) is continuous and t↦tlnt1 is continuous and positive. There exists cx∈[x,x2] with
∫xx2lntcos(πt)dt=cxcos(πcx)∫xx2tlntdt.
Compute the remaining integral.
∫xx2tlntdt=[ln(lnt)]xx2=ln(ln(x2))−ln(lnx)=ln2.
So
∫xx2lntcos(πt)dt=cxcos(πcx)ln2.
Limit as x→1+. Since cx∈[x,x2] and x→1+, we have cx→1. Thus cxcos(πcx)→1⋅cos(π)=−1. Therefore
x→1+lim∫xx2lntcos(πt)dt=(−1)⋅ln2=−ln2.