In Theorem 4.2. of Apostol's Analytic Number Theory Abel's identity is introduced. Theorem 4.3. is an application for the identity and claims the equality $$\theta(x) = \pi(x) \log (x) - \int_{3/2}^x \dfrac{\pi(t)}{t} dt = \pi(x) \log (x) - \int_2^x \dfrac{\pi(t)}{t} dt,$$ which is a result of taking $y=3/2$ in Abel's identity but if we take $y=2$ we will have $$\theta(x) = \pi(x) \log (x) - \pi(2) \log (2) - \int_2^x \dfrac{\pi(t)}{t} dt \ne \pi(x) \log (x) - \int_2^x \dfrac{\pi(t)}{t} dt,$$ since integral of a single point is zero.
How this contradiction is resolved?