Suppress spurious logging for non-JSON handlers