Skip to content

Commit 17e532d

Browse files
BinWang28Copilot
andauthored
Update src/logging/logger.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4465de2 commit 17e532d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logging/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def setup_mcp_logging(level="INFO", addr="tcp://127.0.0.1:6000", tool_name="unkn
8080
h.close()
8181
logger.propagate = True # 确保冒泡到 root
8282

83-
# 重新加上 ZMQ handler
83+
# Re-add the ZMQ handler
8484
handler = ZMQLogHandler(addr=addr, tool_name=tool_name)
8585
handler.setFormatter(logging.Formatter("[TOOL] %(asctime)s %(levelname)s: %(message)s"))
8686
root.addHandler(handler)

0 commit comments

Comments
 (0)