This is an automated email from the ASF dual-hosted git repository.

yihaochen pushed a commit to branch revert-190-master
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git

commit 95aeb1a60f90ad0bfde8f4536491a4fb381ab286
Author: Superskyyy <[email protected]>
AuthorDate: Sat Mar 19 14:01:42 2022 -0400

    Revert "The local log stack depth is not truncated (#190)"
    
    This reverts commit cd559e7159b92b0d5b9d26cda1da0517a646a709.
---
 skywalking/log/sw_logging.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/skywalking/log/sw_logging.py b/skywalking/log/sw_logging.py
index 7f07d02..44080d3 100644
--- a/skywalking/log/sw_logging.py
+++ b/skywalking/log/sw_logging.py
@@ -69,8 +69,6 @@ def install():
 
         context = get_context()
 
-        _handle(self=self, record=record)
-
         log_data = LogData(
             timestamp=round(record.created * 1000),
             service=config.service_name,
@@ -88,7 +86,7 @@ def install():
             ),
             tags=build_log_tags(),
         )
-
+        _handle(self=self, record=record)
 
         agent.archive_log(log_data)
 

Reply via email to