zhangxiaojiawow commented on PR #3365:
URL: https://github.com/apache/skywalking/pull/3365#issuecomment-2975579267

   @wuxingye If I want to use another appender 
`ch.qos.logback.core.rolling.RollingFileAppender`,  how to add TraceId in JSON 
format log.
   the following config doesn't take effect:
   ```xml
   <encoder charset="UTF-8" 
class="net.logstash.logback.encoder.LogstashEncoder">
       <provider 
class="org.apache.skywalking.apm.toolkit.log.logback.v1.x.logstash.TraceIdJsonProvider">
       </provider>
       <customFields>{"app_id":"${app_id}"}</customFields>
   </encoder>
   ```
   


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

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to