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 2021/04/26 05:58:02 UTC

[GitHub] [skywalking] libing08 commented on issue #5906: Spring cloud gateway project logback cannot print TraceID

libing08 commented on issue #5906:
URL: https://github.com/apache/skywalking/issues/5906#issuecomment-826527834


   > @ldy If you use the default plugin or have imported gateway related plugins ,spring-cloud-gateway(reactor-netty) cannot print traceId,this is because these plugins are all in beforeMethod and delete trace. If you want to print that traceId,you can import spring-annotation-plugin,but this cannot solve the problem that your logback traceId in ResponseBobyGatewayFilter cannot be printed,because you are an asynchronous callback method.
   > ![image](https://user-images.githubusercontent.com/40192576/101980550-2a2e2300-3ca1-11eb-8faf-a6f35bb3a58f.png)
   
   if in aop don't print traceid,import spring-annotation-plugin can fix it. 
   thanks offer ideas like this!


-- 
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