增强 8910 日志盯盘与联调可读性:本机落盘 info/error、bat 入口,出站与 echo 打 reply 预览,部署强制 UTF-8。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -50,9 +50,12 @@ def handle_echo_text(
|
||||
content=body,
|
||||
dedupe_key=dedupe,
|
||||
)
|
||||
# 联调需要能在 err 日志里对上企微气泡;正文截断避免超长刷屏
|
||||
preview = body if len(body) <= 200 else (body[:200] + "…")
|
||||
logger.info(
|
||||
"echo 已排队 outbox ok=%s info=%s sender=%s",
|
||||
"echo 已排队 outbox ok=%s info=%s sender=%s reply=%s",
|
||||
ok,
|
||||
info,
|
||||
message.sender_id,
|
||||
preview,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user