RealZimboGuy opened a new issue #7151:
URL: https://github.com/apache/skywalking/issues/7151


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ Y] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   
   Issue where trace id is showing in stdout and in the log but the trace id is 
not showing under the log detail in the portal
   
       <appender name="CONSOLE_HUMAN" 
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.mdc.TraceIdMDCPatternLogbackLayout">
                   <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%X{tid}] [%thread] 
%-5level %logger{36} -%msg%n</Pattern>
               </layout>
           </encoder>
       </appender>
   
   
       <appender name="grpc-log" 
class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.log.GRPCLogClientAppender">
           <encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
               <layout 
class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.mdc.TraceIdMDCPatternLogbackLayout">
                   <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%X{tid}] [%thread] 
%-5level %logger{36} -%msg%n</Pattern>
               </layout>
           </encoder>
       </appender>
   
   
           <dependency>
               <groupId>org.apache.skywalking</groupId>
               <artifactId>apm-toolkit-logback-1.x</artifactId>
               <version>8.5.0</version>
           </dependency>
   
   version
   apache-skywalking-apm-es7-8.6.0.tar.gz
   
   
   ___
   ### Bug
   
   the log detail is showing this content 
   
   2021-06-21 16:08:04.195 
[TID:61d176602d6140e49accda78790a8fff.54.16242844841900003] [qtp847568453-54] 
WARN  c.d.v.p.p.services.MsService -invalid transaction id format 
:Request{merchant='795bf316-cfc3-48fd-8c20-4efed2093722', expirySeconds=0}
   
   tags 
   level = WARN
   logger = com.de.v.pa.pa.services.MsService
   thread = qtp847568453-54
   
   but the TraceID is blank. ie should be able to correlate the related logs 
but the trace id is not inserting ? 
   
   i assume its most likely something i am doing wrong
   
   
   - Which company or project?
   SELF- testing
   
   


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