This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 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 cd559e7 The local log stack depth is not truncated (#190)
cd559e7 is described below
commit cd559e7159b92b0d5b9d26cda1da0517a646a709
Author: Knight <[email protected]>
AuthorDate: Fri Mar 18 11:14:32 2022 +0800
The local log stack depth is not truncated (#190)
Co-authored-by: paji <[email protected]>
---
skywalking/log/sw_logging.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/skywalking/log/sw_logging.py b/skywalking/log/sw_logging.py
index 44080d3..7f07d02 100644
--- a/skywalking/log/sw_logging.py
+++ b/skywalking/log/sw_logging.py
@@ -69,6 +69,8 @@ def install():
context = get_context()
+ _handle(self=self, record=record)
+
log_data = LogData(
timestamp=round(record.created * 1000),
service=config.service_name,
@@ -86,7 +88,7 @@ def install():
),
tags=build_log_tags(),
)
- _handle(self=self, record=record)
+
agent.archive_log(log_data)