apache/dubbo

traceId missing from MDC in logs in Dubbo 3.3.2

Open

#16,165 opened on 2026年3月24日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Java (41,524 stars) (26,453 forks)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?

コントリビューターガイド