Let $\chi$ be a primitive Dirichlet character of conductor $q>1$. One may use partial summation to prove an upper bound of the form (I hope I am right) $$ \sum_{n\leq X} \chi(n)n^{-1/2-it} \ll \sqrt q \min (\left|t\right|, \sqrt X)\log q. $$
What is the best known bound for the above sum?