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:
[email protected]


Reply via email to