I’m using both the LangGraph platform and local development. I’ve implemented the logger as suggested with an additional SafeStreamHandler to handle stream issues, but the error persists:
Interesting discussion. I’ve been experimenting with a slightly different angle on logging in LangGraph.
Instead of trying to capture everything (which can get noisy and brittle), I’ve been testing “collapse-point logging” — only recording when reasoning fails (contradictions, skipped steps, unknowns).
This produces a compact audit trail and reduces I/O churn, since you’re not writing every event — just the meaningful failure points.
Has anyone here tried a similar “failure-only” logging pattern with LangGraph?