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/16 14:47:47 UTC

[GitHub] [skywalking] chenshd opened a new issue #5111: Cannot get the TID using the spring cloud gateway

chenshd opened a new issue #5111:
URL: https://github.com/apache/skywalking/issues/5111


   Cannot get the TID using the spring-cloud (version:Hoxton.SR4)  apm-toolkit-logback-1.x  (version:8.0.1)  
   
   logbac.xml
   
   <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
           <encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
               <layout class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.TraceIdPatternLogbackLayout">
                   <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level logger_name:%logger{36} - [%tid] - message:%msg%n</pattern>
               </layout>
           </encoder>
       </appender>
   
       <root level="INFO">
           <appender-ref ref="CONSOLE" />
       </root>
   
   log detail
   22:46:35.594 [reactor-http-kqueue-2] ERROR logger_name:c.l.a.g.m.s.c.TestController - [TID:N/A] - message:gateway trace_id == N/A


----------------------------------------------------------------
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 #5111: Cannot get the TID using the spring cloud gateway

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5111:
URL: https://github.com/apache/skywalking/issues/5111


   


----------------------------------------------------------------
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 #5111: Cannot get the TID using the spring cloud gateway

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5111:
URL: https://github.com/apache/skywalking/issues/5111#issuecomment-659463722


   We are not supporting trace id in every line of log, that is not SkyWalking's way.


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