kezhenxu94 commented on code in PR #323:
URL: https://github.com/apache/skywalking-python/pull/323#discussion_r1378431103


##########
skywalking/log/sw_logging.py:
##########
@@ -75,6 +77,9 @@ def build_log_tags() -> LogTags:
 
         context = get_context()
 
+        if config.agent_log_print_tid:
+            record.tid = str(context.segment.related_traces[0])

Review Comment:
   > How about we make it more consistent with the Java agent, that is simply 
introducing the tid mechnism through the custom layout?
   
   This makes sense to me



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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to