It is well known that $\sum_{p \text{ prime}} \frac{1}{p}$ diverges, and in fact - it behaves like log of the harmonic series: $$ \sum_{p \le x} \frac{1}{p} = \log \log x + O(1). $$ It is also well known that $\sum\limits_{p \text{ prime}} \frac{1}{p^2}$ converges. What is known about the rate? Letting $C = \sum\limits_{p \text{ prime}} \frac{1}{p^2}$, what can be said about $C - \sum\limits_{p \le x} \frac{1}{p^2}$?
I am reading an article (a survey of Artin's Primitive Root Conjecture - which follows from the GRH). I am trying to understand what are the condition on functions $f_1\le f_2$ tending to infinity in order that $$ \sum_{f_1(x) \le p \le f_2(x)} \frac{1}{p^2} = O\left(\frac{1}{\log x}\right). $$ Of course I can take $f_1(x) = \log\log\log x$, $f_2(x) = \log\log x$, but I want the general conditions.