I tried configuring a custom logging.json file and specifying it in the environment variable, but it didn’t take effect.
LOGGING_CONFIG=/home/server/logging.json
I tried configuring a custom logging.json file and specifying it in the environment variable, but it didn’t take effect.
LOGGING_CONFIG=/home/server/logging.json
Hey @luorigufeng ! What are you specifically trying to log?
Have you looked into LangSmith for tracing?
Hello @catherine-langchain ~~
I’m aware of Smith’s tracing functionality. I want to deploy a CI environment that multiple developers can use, and the developers want to be able to access the log files corresponding to the LangGraph console output.
I’ve checked the LangGraph development documentation, but I couldn’t find any configuration options for directly customizing logging—for example, adding a handler to record logs to a file.
yes, I have the same issue. My workaround:
log_file=deep_search_agent/langgraph.log
nohup langgraph dev --config deep_search_agent/langgraph.json \
> $log_file 2>&1 &