You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (Jira)" <ji...@apache.org> on 2023/12/29 09:32:00 UTC

[jira] [Created] (SCB-2848) setting trace id to MDC in executor

liubao created SCB-2848:
---------------------------

             Summary: setting trace id to MDC in executor
                 Key: SCB-2848
                 URL: https://issues.apache.org/jira/browse/SCB-2848
             Project: Apache ServiceComb
          Issue Type: New Feature
          Components: Java-Chassis
            Reporter: liubao
            Assignee: liubao
             Fix For: java-chassis-3.0.1


```xml
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="[%d][%t][%p][%c:%L][%X\{SERVICECOMB_TRACE_ID}] %m%n"/>
</Console>
</Appenders>
```

 

If configure SERVICECOMB_TRACE_ID in loggers, can output trace id. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)