Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] traceId not found in my log #15011

Open
3 of 4 tasks
C-L-STARK opened this issue Dec 22, 2024 · 0 comments
Open
3 of 4 tasks

[Bug] traceId not found in my log #15011

C-L-STARK opened this issue Dec 22, 2024 · 0 comments
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@C-L-STARK
Copy link

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

latest version 3.3.2

Steps to reproduce this issue

  1. log pattern:
<property name="file.pattern" value="%green([%date]) %red([%level]) [%thread] [%logger{10}] %blue([%X{traceId} | %X{spanId}]) %msg%n"/>

What you expected to happen

MDC.get("traceId") got null

Anything else

  1. is traceId need to manual set with MDC.put in preHandler ?
  2. rpc chain: web -> call dubbo -> platform -> call domains

thanks!

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@C-L-STARK C-L-STARK added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Status: Todo
Development

No branches or pull requests

1 participant