mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-21 13:24:44 +08:00
fix(log): Enable the logging level when enabling the DEBUG environment variable (#793)
This commit is contained in:
@@ -16,7 +16,10 @@ logging.basicConfig(
|
||||
|
||||
def enable_debug_logging():
|
||||
"""Enable debug level logging for more detailed execution information."""
|
||||
# Must also set root logger level to allow DEBUG messages to propagate
|
||||
logging.getLogger("src").setLevel(logging.DEBUG)
|
||||
logging.getLogger("langchain").setLevel(logging.DEBUG)
|
||||
logging.getLogger("langgraph").setLevel(logging.DEBUG)
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user