apache/dubbo

traceId missing from MDC in logs in Dubbo 3.3.2

Open

#16,165 创建于 2026年3月24日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Java (41,524 star) (26,453 fork)batch import
help wanted

描述

In Dubbo latest version 3.3.2, MDC.get("traceId") returns null even though the log pattern includes %X{traceId}. The call chain is web -> dubbo -> platform -> domains. Question: Is manual MDC.put required in a preHandler to propagate traceId?

贡献者指南

traceId missing from MDC in logs in Dubbo 3.3.2 · apache/dubbo#16165 | Good First Issue