Suppose $f$ is a real-valued (possibly infinite-valued) function on some measure space $(X, \Sigma, \mu)$, and suppose that it is measurable. Note that $f$ is not necessarily nonnegative.
Does it make sense to talk about $\int \limits_{X} f(x) \,d\mu$ if $f \not \in L^{1}(d\mu)$ (i.e., $\int \limits_{X} |f| \,d\mu \not < \infty$)?
If this is true, I think this is a very subtle point. I was always under the impression that any measurable function can be integrated, but now I doubt that this is true if the function is not nonnegative.
One can define a meaningful integral as
$$ \int f \, d\mu = \int f_+ \, d\mu - \int f_- \, d\mu, $$
As long as at least one of the two integrals on the right hand side is finite.
Here, $f_+ (x) = \max \{0, f(x)\}$ is the positive part of $f$ and the negative part is defined analogously.