You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/07/29 07:46:49 UTC
[GitHub] [skywalking] Glenrun opened a new issue #5188: log4j1.x can't get trace ID used in spring cloud gateway
Glenrun opened a new issue #5188:
URL: https://github.com/apache/skywalking/issues/5188
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [ ] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
I was using log4j1.2.17 in our spring cloud gateway, and I configured [%T] in TraceIdPatternLayout param, but it seems log4j can't get trace id at any time, it always shows [TID: N/A], does it have something to do with multiple thread?
___
### Bug
- Which version of SkyWalking, OS and JRE?
8.0.0
- Which company or project?
CCB
- What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.
___
### Requirement or improvement
- Please describe about your requirements or improvement suggestions.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng closed issue #5188: log4j1.x can't get trace ID used in spring cloud gateway
Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5188:
URL: https://github.com/apache/skywalking/issues/5188
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] Glenrun commented on issue #5188: log4j1.x can't get trace ID in spring cloud gateway's log
Posted by GitBox <gi...@apache.org>.
Glenrun commented on issue #5188:
URL: https://github.com/apache/skywalking/issues/5188#issuecomment-664840489
so will the test be done on 8.1.0? @wu-sheng
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng commented on issue #5188: log4j1.x can't get trace ID used in spring cloud gateway
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5188:
URL: https://github.com/apache/skywalking/issues/5188#issuecomment-664819883
We haven't done any test about `getting trace id` in this case. If you want trace id available, I think you have to make sure the thread your codes running has been instrumented, which mean having TracingContext.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org