Notifications
Clear all
LangGraph Reviews
1
Posts
1
Users
0
Reactions
4
Views
Topic starter
15/07/2026 2:43 pm
I'm building my first LangGraph agent for a deployment pipeline. When I run it locally in development, I can see all my print statements and they help me trace the steps. But when I compile it for production (using `langgraph compile`), those prints disappear.
I understand this is probably for optimization, but I need some logs to see if things are working after deployment. What's the best way to add logging back in a way that survives compilation? Do you wrap the nodes in something specific, or use a callback?