Find a good upper bound on $$\int_1^T\frac{\zeta'(s)}{\zeta(s)\zeta(1-s)}X^sdt,$$ where $s=c+it$ for a constant $c>1$ and $X>0$ is a parameter. If needed, we can assume RH.
My attempt here is to use the functional equation of $\zeta$, namely $\zeta(s)=\chi(s)\zeta(1-s)$ for a specific function $\chi$. Using this, we see $\chi(s)=\frac{\zeta(s)}{\zeta(1-s)}$. This converts our integral to $$\int_1^{T}\frac{\zeta'(s)}{\zeta(s)}\chi(s)X^sdt.$$ Further, we know asymptotically (due to Stirling) that for large $t$, $$\chi(c+it)\sim (t/2\pi)^{1/2-c-it}e^{it+i\pi/4},$$ so my next step was to use the bound $$\left|\frac{\zeta'}{\zeta}(c+iT)\right|=O(\log^2T)$$ together with $|X^s|=X^c$ and the asymptotic for $\chi$. However this fails; the asymptotic works for large $t$ yet our integral runs from $1$ up to $T$, so this approach doesn't work. Is there another way to do this?