This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git
The following commit(s) were added to refs/heads/master by this push:
new d5a10a4 Revert "The local log stack depth is not truncated (#190)"
(#191)
d5a10a4 is described below
commit d5a10a4991fbf5de8dcd1f7e4fbb37bfb92a524e
Author: Superskyyy <[email protected]>
AuthorDate: Sat Mar 19 19:00:28 2022 -0400
Revert "The local log stack depth is not truncated (#190)" (#191)
---
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)