MorganMaxg opened a new issue, #10509:
URL: https://github.com/apache/skywalking/issues/10509

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   Java Agent (apache/skywalking-java)
   
   ### What happened
   
   Cannot print TraceId on spring cloud gateway with logback.
   
   ### What you expected to happen
   
   expected a real value of traceid, not `TID:N/A`
   
   ### How to reproduce
   
   Follow these steps:
   1. Download my code from project 
[springcloudgatewaylogbacktraceiderror](https://github.com/MorganMaxg/springcloudgatewaylogbacktraceiderror.git)
   2. Build project with `mvn clean package`
   3. start project. ``
   4. testing with a url such as `curl 127.0.0.1:8081/demo/test`, log will 
print '[TID:N/A] [reactor-http-nio-2] INFO  c.e.m.filter.TraceIdGlobalFilter 
-hello world, N/A'
   
   ### Anything else
   
   How can i print the traceId in GlobalFilter.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
notifications-unsubscr...@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to