From 7c91be6468bf70bcb39748eb3120f6738f4532e4 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 15 九月 2023 17:51:07 +0800 Subject: [PATCH] 取消交易通道测试日志 --- log_module/async_log_util.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/log_module/async_log_util.py b/log_module/async_log_util.py index 32ec7c7..f54d5b2 100644 --- a/log_module/async_log_util.py +++ b/log_module/async_log_util.py @@ -4,7 +4,7 @@ import queue import time -from log_module.log import logger_debug +from log_module.log import logger_debug, logger_system from utils import tool @@ -31,6 +31,7 @@ # 杩愯鍚屾鏃ュ織 def run_sync(self): + logger_system.info(f"run_sync 绾跨▼ID:{tool.get_thread_id()}") while True: try: val = self.__log_queue.get() @@ -46,6 +47,9 @@ l2_data_log = AsyncLogManager() + + +huaxin_l2_log = AsyncLogManager() log_queue = queue.Queue() @@ -77,6 +81,7 @@ # 杩愯鍚屾鏃ュ織 def run_sync(): + logger_system.info(f"async_log 绾跨▼ID:{tool.get_thread_id()}") while True: try: val = log_queue.get() -- Gitblit v1.8.0