Keep Granian logs out of JSON stdout
Merged
FL
3mo ago+109+109+012345678901234567890123456789-1-1-0123456789
Granian writes its own lifecycle messages straight to stdout. With reflex run --json --loglevel debug, those plain-text lines break JSONL consumers.
This disables Granian's native logger when Reflex JSON logging is active, for both dev and prod. Normal logging is unchanged.
I reproduced this on current main (8 non-JSON lines), then reran the same command after the change (0 non-JSON lines).
Tests: uv run pytest -q tests/units/utils/test_exec.py (17 passed), ruff, format check, pyright.
Closes #6972