From 73c75c86b60513e0c8f5d19ccfed78064af5f47c Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 24 八月 2023 14:39:01 +0800
Subject: [PATCH] G撤华鑫本地日志添加

---
 huaxin_client/l2_data_manager.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/huaxin_client/l2_data_manager.py b/huaxin_client/l2_data_manager.py
index 01cb5c6..d96ac6c 100644
--- a/huaxin_client/l2_data_manager.py
+++ b/huaxin_client/l2_data_manager.py
@@ -11,7 +11,8 @@
 
 # 娲诲姩鏃堕棿
 from log_module import log_export
-from log_module.log import logger_local_huaxin_l2_error, logger_local_huaxin_l2_upload, logger_local_huaxin_l2_buy_no
+from log_module.log import logger_local_huaxin_l2_error, logger_local_huaxin_l2_upload, logger_local_huaxin_l2_buy_no, \
+    logger_local_huaxin_g_cancel
 
 order_detail_upload_active_time_dict = {}
 transaction_upload_active_time_dict = {}
@@ -223,7 +224,10 @@
     while True:
         try:
             temp = trading_canceled_queue.get()
-            upload_data(temp[0], "trading_order_canceled", temp[1])
+            if temp:
+                logger_local_huaxin_g_cancel.info(f"鍑嗗涓婃姤锛歿temp}")
+                upload_data(temp[0], "trading_order_canceled", temp[1])
+                logger_local_huaxin_g_cancel.info(f"涓婃姤鎴愬姛锛歿temp}")
         except Exception as e:
             logger_local_huaxin_l2_error.exception(e)
             logger_local_huaxin_l2_error.error(f"涓婁紶鏅�氭暟鎹嚭閿欙細{str(e)}")

--
Gitblit v1.8.0