Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-2848

setting trace id to MDC in executor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-3.0.1
    • Java-Chassis
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              liubao68 liubao
              liubao68 liubao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: