Let $X/K$ be a smooth projective variety over a number field $K$. I have seen two definitions of the L-function $L^i(s)$ attached to it's cohomology groups $H^i(X)$.
Both definitions agree that at a bad prime $\mathfrak{p}$ take the euler factor should be $\frac{1}{P(N\mathfrak{p}^s)}$, where $P(t) = det(1- Fr*t)$. $Fr$ is the inverse of the frobenius map (which takes $x \mapsto x^{N\mathfrak{p}}$) acting on $H^i_{et}(X \times \bar{K}_\mathfrak{p}, \mathbb{Q}_\ell)^{I_\mathfrak{p}}$ (by acting on the factor $\bar{K}_\mathfrak{p}$). Here, $I_\mathfrak{p}$ is the inertia group and as usual $(\ell, N\mathfrak{p}) = 1$.
$\textbf{Question:}$ The bad factors of the L-function are given by geometric frobenius. I've been told that the same definition gives both the good and bad euler factors. However, for good primes, Serre (Facteurs locaux des fonctions Zeta ..., section 1.2 ) appears to use (but isn't very explicit) the ordinary frobenius map (that is, he doesn't take the inverse in the description of the euler factors above).
Do we use frobenius or its inverse in good factors of the L-function?